jenkinsfile
This commit is contained in:
12
openshift/prod/Jenkinsfile
vendored
12
openshift/prod/Jenkinsfile
vendored
@@ -186,12 +186,12 @@ pipeline {
|
|||||||
// Wait for approval
|
// Wait for approval
|
||||||
timeout(time:1440, unit:'MINUTES') {
|
timeout(time:1440, unit:'MINUTES') {
|
||||||
input message: "Go Live with ${ appname } in Production?", ok: "Confirm"
|
input message: "Go Live with ${ appname } in Production?", ok: "Confirm"
|
||||||
def label = "${ env.BUILD_TAG }"
|
// def label = "${ env.BUILD_TAG }"
|
||||||
utilities.rollout("${ appname }", "${ appname }", "latest", label, PROJECT_CONTAINING_IMAGES, REGISTRY, USE_CONFIG_MAP, "${ CONFIG_MAP_KEY }", CONFIG_MAP_PATH)
|
// 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 nexus.arbetsformedlingen.se:5555/app-af-nexus/${ appname }:${BUILD_TAG} ${appname}:${BUILD_TAG} --insecure")
|
||||||
//openshift.raw("tag ${ appname }:latest ${ appname }:${BUILD_TAG}")
|
openshift.raw("tag ${ appname }:latest ${ appname }:${BUILD_TAG}")
|
||||||
//openshift.raw("set image dc/${ appname } ${ appname }=nexus.arbetsformedlingen.se:5555/app-af-nexus/${ appname }:${BUILD_TAG} --record=true --source=docker")
|
openshift.raw("set image dc/${ appname } ${ appname }=nexus.arbetsformedlingen.se:5555/app-af-nexus/${ appname }:${BUILD_TAG} --record=true --source=docker")
|
||||||
//openshift.selector("dc", "${ appname }").rollout().status();
|
openshift.selector("dc", "${ appname }").rollout().status();
|
||||||
echo '### Deployed to prod! ###'
|
echo '### Deployed to prod! ###'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1
package-lock.json
generated
1
package-lock.json
generated
@@ -5,6 +5,7 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "mina-sidor-fa-web",
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user