Put Jenkinsfile milestones before the prompts

This commit is contained in:
bandesz
2017-01-31 12:18:10 +00:00
parent e2e5cb6866
commit e2a466932a

4
Jenkinsfile vendored
View File

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