diff --git a/Jenkinsfile b/Jenkinsfile index 4ff6a50c1..36c417c37 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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"