From f7171e818a06ab43cc753c8c45acb95e7fce27b9 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Wed, 17 Nov 2021 14:09:43 +0100 Subject: [PATCH] Updated Jenkinsfiles --- openshift/acc/Jenkinsfile | 2 +- openshift/next/Jenkinsfile | 2 +- openshift/playground/Jenkinsfile | 2 +- openshift/prod/Jenkinsfile | 2 +- openshift/sys/Jenkinsfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/openshift/acc/Jenkinsfile b/openshift/acc/Jenkinsfile index 4a27fa8..3b0f720 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 }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}") + openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}") } } } diff --git a/openshift/next/Jenkinsfile b/openshift/next/Jenkinsfile index d054f96..31d0352 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 }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}") + openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}") } } } diff --git a/openshift/playground/Jenkinsfile b/openshift/playground/Jenkinsfile index f63db3f..8c2b23d 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 }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}") + openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}") } } } diff --git a/openshift/prod/Jenkinsfile b/openshift/prod/Jenkinsfile index b8bccea..cde1012 100644 --- a/openshift/prod/Jenkinsfile +++ b/openshift/prod/Jenkinsfile @@ -122,7 +122,7 @@ pipeline { openshift.withCluster() { openshift.withProject(utv_project) { openshift.selector("bc", "${ appname }").startBuild("--from-dir=${dist_path}", "--wait=true") - openshift.tag("${ appname }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}") + openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}") } } } diff --git a/openshift/sys/Jenkinsfile b/openshift/sys/Jenkinsfile index 5355653..90c6ec1 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 }:${BUILD_TAG}", "${ appname }:${BUILD_TAG}") + openshift.tag("${ appname }:latest", "${ appname }:${BUILD_TAG}") } } }