mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
77e91fbdaf
commit
4b8729ad9f
1 changed files with 11 additions and 0 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -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) {
|
||||
echo "in catch block"
|
||||
|
|
Loading…
Reference in a new issue