From f11d974f9b0fc9b2d603b5eaf40b398d91e4d4e0 Mon Sep 17 00:00:00 2001 From: Daniel Appelgren Date: Tue, 7 Sep 2021 15:16:05 +0200 Subject: [PATCH] Update Jenkinsfile --- openshift/prod/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift/prod/Jenkinsfile b/openshift/prod/Jenkinsfile index c071aae..2e82bda 100644 --- a/openshift/prod/Jenkinsfile +++ b/openshift/prod/Jenkinsfile @@ -186,7 +186,7 @@ pipeline { // Wait for approval timeout(time:1440, unit:'MINUTES') { input message: "Go Live with ${ appname } in Production?", ok: "Confirm" - def label = "${ env.BUILD_NUMBER }" + def label = "${ env.BUILD_TAG }" utilities.rollout("${ appname }", "${ appname }", "latest", label, PROJECT_CONTAINING_IMAGES, REGISTRY, USE_CONFIG_MAP, "${ CONFIG_MAP_KEY }", CONFIG_MAP_PATH) //openshift.raw("tag nexus.arbetsformedlingen.se:5555/app-af-nexus/${ appname }:${BUILD_TAG} ${appname}:${BUILD_TAG} --insecure") //openshift.raw("tag ${ appname }:latest ${ appname }:${BUILD_TAG}")