mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Put Jenkinsfile milestones before the prompts
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -175,8 +175,8 @@ try {
|
|||||||
|
|
||||||
stage('Staging') {
|
stage('Staging') {
|
||||||
if (deployToStaging == "true") {
|
if (deployToStaging == "true") {
|
||||||
input 'Approve?'
|
|
||||||
milestone 40
|
milestone 40
|
||||||
|
input 'Approve?'
|
||||||
node {
|
node {
|
||||||
unstash 'source'
|
unstash 'source'
|
||||||
deployDatabaseMigrations 'staging'
|
deployDatabaseMigrations 'staging'
|
||||||
@@ -199,8 +199,8 @@ try {
|
|||||||
|
|
||||||
stage('Prod') {
|
stage('Prod') {
|
||||||
if (deployToProduction == "true") {
|
if (deployToProduction == "true") {
|
||||||
input 'Approve?'
|
|
||||||
milestone 50
|
milestone 50
|
||||||
|
input 'Approve?'
|
||||||
node {
|
node {
|
||||||
unstash 'source'
|
unstash 'source'
|
||||||
deployDatabaseMigrations 'production'
|
deployDatabaseMigrations 'production'
|
||||||
|
|||||||
Reference in New Issue
Block a user