Updated Jenkinsfiles to use build tag instead of latest
This commit is contained in:
2
openshift/acc/Jenkinsfile
vendored
2
openshift/acc/Jenkinsfile
vendored
@@ -113,7 +113,7 @@ pipeline {
|
||||
openshift.withCluster() {
|
||||
openshift.withProject(utv_project) {
|
||||
openshift.selector("bc", "${ appname }").startBuild("--from-dir=${dist_path}", "--wait=true")
|
||||
openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}")
|
||||
openshift.tag("${ appname }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
openshift/next/Jenkinsfile
vendored
2
openshift/next/Jenkinsfile
vendored
@@ -109,7 +109,7 @@ pipeline {
|
||||
openshift.withCluster() {
|
||||
openshift.withProject(utv_project) {
|
||||
openshift.selector("bc", "${ appname }").startBuild("--from-dir=${dist_path}", "--wait=true")
|
||||
openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}")
|
||||
openshift.tag("${ appname }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
openshift/playground/Jenkinsfile
vendored
2
openshift/playground/Jenkinsfile
vendored
@@ -109,7 +109,7 @@ pipeline {
|
||||
openshift.withCluster() {
|
||||
openshift.withProject(utv_project) {
|
||||
openshift.selector("bc", "${ appname }").startBuild("--from-dir=${dist_path}", "--wait=true")
|
||||
openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}")
|
||||
openshift.tag("${ appname }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
openshift/sys/Jenkinsfile
vendored
2
openshift/sys/Jenkinsfile
vendored
@@ -111,7 +111,7 @@ pipeline {
|
||||
openshift.withCluster() {
|
||||
openshift.withProject(utv_project) {
|
||||
openshift.selector("bc", "${ appname }").startBuild("--from-dir=${dist_path}", "--wait=true")
|
||||
openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}")
|
||||
openshift.tag("${ appname }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user