From eaf0d27a3badc933e2597f3e30952b2a7a772dfe Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Thu, 3 May 2018 16:10:36 +1000 Subject: [PATCH] Fix CI pipeline --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 70fbc64..821cbc8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,7 @@ pipeline { environment { IMAGE_NAME = "nginx-proxy-manager" TEMP_IMAGE_NAME = "nginx-proxy-manager-build_${BUILD_NUMBER}" + TAG_VERSION = getPackageVersion() } stages { stage('Prepare') { @@ -37,8 +38,6 @@ node-prune''' } } stage('Build') { - def TAG_VERSION = getPackageVersion() - steps { sh '''docker build -t $TEMP_IMAGE_NAME . exit $?'''