Fix CI pipeline

This commit is contained in:
Jamie Curnow 2018-05-03 16:07:34 +10:00
parent e1aa975987
commit 2d69f287b7

10
Jenkinsfile vendored
View File

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