Fix CI pipeline

This commit is contained in:
Jamie Curnow 2018-05-03 16:10:36 +10:00
parent 2d69f287b7
commit eaf0d27a3b

3
Jenkinsfile vendored
View File

@ -7,6 +7,7 @@ pipeline {
environment { environment {
IMAGE_NAME = "nginx-proxy-manager" IMAGE_NAME = "nginx-proxy-manager"
TEMP_IMAGE_NAME = "nginx-proxy-manager-build_${BUILD_NUMBER}" TEMP_IMAGE_NAME = "nginx-proxy-manager-build_${BUILD_NUMBER}"
TAG_VERSION = getPackageVersion()
} }
stages { stages {
stage('Prepare') { stage('Prepare') {
@ -37,8 +38,6 @@ node-prune'''
} }
} }
stage('Build') { stage('Build') {
def TAG_VERSION = getPackageVersion()
steps { steps {
sh '''docker build -t $TEMP_IMAGE_NAME . sh '''docker build -t $TEMP_IMAGE_NAME .
exit $?''' exit $?'''