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
725343fb3c
commit
47f06c48a5
1 changed files with 5 additions and 5 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -63,7 +63,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
echo "Deploy to DEV."
|
echo "Deploy to DEV."
|
||||||
openshift.withCluster() {
|
openshift.withCluster() {
|
||||||
openshift.withProject("${appName}-dev") {
|
openshift.withProject("demo-dev") {
|
||||||
echo "Rolling out to DEV."
|
echo "Rolling out to DEV."
|
||||||
def dc = openshift.selector('dc', "${appName}")
|
def dc = openshift.selector('dc', "${appName}")
|
||||||
dc.rollout().latest()
|
dc.rollout().latest()
|
||||||
|
@ -85,13 +85,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy UAT') {
|
stage('Deploy TEST') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
echo "Deploy to UAT."
|
echo "Deploy to TEST."
|
||||||
openshift.withCluster() {
|
openshift.withCluster() {
|
||||||
openshift.withProject("${appName}-uat") {
|
openshift.withProject("demo-test") {
|
||||||
echo "Rolling out to UAT."
|
echo "Rolling out to TEST."
|
||||||
def dc = openshift.selector('dc', "${appName}")
|
def dc = openshift.selector('dc', "${appName}")
|
||||||
dc.rollout().latest()
|
dc.rollout().latest()
|
||||||
dc.rollout().status()
|
dc.rollout().status()
|
||||||
|
|
Loading…
Reference in a new issue