Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion greeting-service/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pipeline{
agent{
label "nodejs"
label "any"
}
stages{
stage("Install dependencies"){
Expand All @@ -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
'''
}
}
}
}