From 188cc55c42cc96f790010bde8cec55c24b561ecf Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Tue, 16 Jul 2019 15:23:18 +0200
Subject: [PATCH] SSB-47: fixing jenkinsfile

---
 CAL/Docker/Jenkinsfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/CAL/Docker/Jenkinsfile b/CAL/Docker/Jenkinsfile
index 5b28c20f518..403045c2685 100644
--- a/CAL/Docker/Jenkinsfile
+++ b/CAL/Docker/Jenkinsfile
@@ -35,10 +35,11 @@ pipeline {
         stage('build run image') {
             steps {
                 script{
-                    name = docker.build("holography", '-f CAL/Docker/HolographyDeploy/Dockerfile .')
-                        .tag(env.LOFAR_TAG)
+                    dir('CAL/Docker/HolographyDeploy'){
+                        name = docker.build("holography").tag(env.LOFAR_TAG)
                         withDockerRegistry(credentialsId: 'nexus', url: env.LOFAR_REGISTRY_URL) {
                             tag_and_push(name, env.LOFAR_REGISTRY)
+                        }
                     }
                 }
             }
-- 
GitLab