Update Jenkinsfile

This commit is contained in:
Andrew Pitt 2019-12-13 18:40:56 -05:00 committed by GitHub
parent 77e91fbdaf
commit 4b8729ad9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
Jenkinsfile vendored
View file

@ -64,6 +64,17 @@ try {
} }
} }
} }
stage("Deploy UAT") {
echo "Deploy to UAT."
openshift.withCluster() {
openshift.withProject("${appName}-uat") {
echo "Rolling out to UAT."
def dc = openshift.selector('dc', "${appName}")
dc.rollout().latest()
dc.rollout().status()
}
}
}
} }
} catch (err) { } catch (err) {
echo "in catch block" echo "in catch block"