diff --git a/openshift/acc/Jenkinsfile b/openshift/acc/Jenkinsfile index 3b0f720..4a27fa8 100644 --- a/openshift/acc/Jenkinsfile +++ b/openshift/acc/Jenkinsfile @@ -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}") } } } diff --git a/openshift/next/Jenkinsfile b/openshift/next/Jenkinsfile index 31d0352..d054f96 100644 --- a/openshift/next/Jenkinsfile +++ b/openshift/next/Jenkinsfile @@ -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}") } } } diff --git a/openshift/playground/Jenkinsfile b/openshift/playground/Jenkinsfile index 8c2b23d..f63db3f 100644 --- a/openshift/playground/Jenkinsfile +++ b/openshift/playground/Jenkinsfile @@ -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}") } } } diff --git a/openshift/sys/Jenkinsfile b/openshift/sys/Jenkinsfile index 90c6ec1..5355653 100644 --- a/openshift/sys/Jenkinsfile +++ b/openshift/sys/Jenkinsfile @@ -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}") } } }