Update Jenkinsfile

This commit is contained in:
Daniel Appelgren
2021-09-07 15:16:05 +02:00
parent ce010c23a0
commit f11d974f9b

View File

@@ -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}")