Put Jenkinsfile milestones before the prompts

This commit is contained in:
bandesz
2017-01-31 12:17:43 +00:00
parent 2cd8304061
commit cf1e1d2b8a

4
Jenkinsfile vendored
View File

@@ -101,8 +101,8 @@ try {
stage('Staging') {
if (deployToStaging == "true") {
input 'Approve?'
milestone 40
input 'Approve?'
node {
unstash 'source'
deploy 'staging'
@@ -122,8 +122,8 @@ try {
stage('Prod') {
if (deployToProduction == "true") {
input 'Approve?'
milestone 50
input 'Approve?'
node {
unstash 'source'
deploy 'production'