ci(Jenkinsfile): refs #7442 Add build id to docker tag
gitea/vn-autoconfig/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2024-06-04 12:47:53 +02:00
parent d944974f14
commit 89b8bf0196
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -22,7 +22,7 @@ pipeline {
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = packageJson.version
env.VERSION = "${packageJson.version}-vn${env.BUILD_ID}"
}
dockerBuild()
}
@ -34,7 +34,7 @@ pipeline {
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = packageJson.version
env.VERSION = "${packageJson.version}-vn${env.BUILD_ID}"
}
withKubeConfig([
serverUrl: "$KUBERNETES_API",