feat(jenkinsfile): use build_id #438

Merged
alexm merged 1 commits from jenkinsFile_useBuildIdInVersion into master 2024-06-12 06:21:37 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 937f75ec63 - Show all commits

4
Jenkinsfile vendored
View File

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