Skip to content

Commit

Permalink
Add promt for promotion to prod, fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
pabrahamsson committed Oct 5, 2018
1 parent a5523c3 commit 4ec32b3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions basic-spring-boot/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ pipeline {
}
}
}
stage('Promotion gate') {
steps {
script {
input message: 'Promote application to Production?'
}
}
}
stage('Promote from Stage to Prod') {
steps {
script {
Expand Down
8 changes: 8 additions & 0 deletions multi-cluster-spring-boot/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ pipeline {
}
}

stage('Promotion gate') {
steps {
script {
input message: 'Promote application to Production?'
}
}
}

stage('Promote to Prod') {
agent {
kubernetes {
Expand Down

0 comments on commit 4ec32b3

Please sign in to comment.