Fixed tests

This commit is contained in:
Erik Tiekstra
2021-11-15 08:29:13 +01:00
parent ce833b31bb
commit d0f64d6e14
28 changed files with 154 additions and 72 deletions

View File

@@ -152,22 +152,22 @@ pipeline {
}
// Temporary while data in sys is so bad
stage('Deploy to "test"') {
steps {
echo '### Deploying to "test"... ###'
script {
openshift.withCluster() {
openshift.withProject(test_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 "test"! ###'
}
}
}
// stage('Deploy to "test"') {
// steps {
// echo '### Deploying to "test"... ###'
// script {
// openshift.withCluster() {
// openshift.withProject(test_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 "test"! ###'
// }
// }
// }
}
def getShortCommitHash() {