Skip to content

Commit eaf0d27

Browse files
committed
Fix CI pipeline
1 parent 2d69f28 commit eaf0d27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pipeline {
77
environment {
88
IMAGE_NAME = "nginx-proxy-manager"
99
TEMP_IMAGE_NAME = "nginx-proxy-manager-build_${BUILD_NUMBER}"
10+
TAG_VERSION = getPackageVersion()
1011
}
1112
stages {
1213
stage('Prepare') {
@@ -37,8 +38,6 @@ node-prune'''
3738
}
3839
}
3940
stage('Build') {
40-
def TAG_VERSION = getPackageVersion()
41-
4241
steps {
4342
sh '''docker build -t $TEMP_IMAGE_NAME .
4443
exit $?'''

0 commit comments

Comments
 (0)