mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Put Jenkinsfile milestones before the prompts
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -101,8 +101,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'
|
||||||
deploy 'staging'
|
deploy 'staging'
|
||||||
@@ -122,8 +122,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'
|
||||||
deploy 'production'
|
deploy 'production'
|
||||||
|
|||||||
Reference in New Issue
Block a user