Updated Jenkinsfile

This commit is contained in:
Erik Tiekstra
2021-09-13 15:28:33 +02:00
parent 33e012658c
commit 2a37566c38

View File

@@ -131,22 +131,6 @@ pipeline {
}
}
stage('Deploy to "acc"') {
steps {
echo '### Deploying to "acc"... ###'
script {
openshift.withCluster() {
openshift.withProject(acc_project) {
openshift.raw("set image dc/${ appname } ${ appname }=docker-registry.default.svc:5000/${utv_project}/${ appname }:${BUILD_TAG} --record=true --source=docker ")
openshift.raw("annotate dc ${ appname } version=${BUILD_TAG} --overwrite=true")
openshift.selector("dc", "${ appname }").rollout().status();
}
}
}
echo '### Deployed to "acc"! ###'
}
}
stage('Push image to External registry') {
agent {
label 'skopeo-agent'