ci(Jenkinsfile): refs #7442 Add build id to docker tag
gitea/vn-autoconfig/pipeline/head This commit looks good
Details
gitea/vn-autoconfig/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d944974f14
commit
89b8bf0196
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue