Update Jenkinsfile

This commit is contained in:
Andrew Pitt 2020-03-17 10:06:41 -04:00 committed by GitHub
parent 725343fb3c
commit 47f06c48a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Jenkinsfile vendored
View file

@ -63,7 +63,7 @@ pipeline {
script {
echo "Deploy to DEV."
openshift.withCluster() {
openshift.withProject("${appName}-dev") {
openshift.withProject("demo-dev") {
echo "Rolling out to DEV."
def dc = openshift.selector('dc', "${appName}")
dc.rollout().latest()
@ -85,13 +85,13 @@ pipeline {
}
}
}
stage('Deploy UAT') {
stage('Deploy TEST') {
steps {
script {
echo "Deploy to UAT."
echo "Deploy to TEST."
openshift.withCluster() {
openshift.withProject("${appName}-uat") {
echo "Rolling out to UAT."
openshift.withProject("demo-test") {
echo "Rolling out to TEST."
def dc = openshift.selector('dc', "${appName}")
dc.rollout().latest()
dc.rollout().status()