mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 21:08:13 -05:00
Fix CI pipeline
This commit is contained in:
parent
2d69f287b7
commit
eaf0d27a3b
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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 $?'''
|
||||||
|
Loading…
Reference in New Issue
Block a user