diff --git a/greeting-service/Jenkinsfile b/greeting-service/Jenkinsfile index 5f3129db8..bd942cfc2 100644 --- a/greeting-service/Jenkinsfile +++ b/greeting-service/Jenkinsfile @@ -1,6 +1,6 @@ pipeline{ agent{ - label "nodejs" + label "any" } stages{ stage("Install dependencies"){ @@ -22,5 +22,13 @@ pipeline{ } // Add the "Deploy" stage here + stage('deploy'){ + steps { + sh ''' + oc project RHT_OCP4_DEV_USER-deploy-strategies + oc start-build greeting-service --follow --wait + ''' + } + } } }