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 {
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 $?'''