Skip to content

Commit 87f2c61

Browse files
authored
Update Jenkinsfile
1 parent dd6bb9c commit 87f2c61

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

projects/jenkins/Jenkinsfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,17 @@ pipeline {
3434
echo "Deploying to staging..."
3535
}
3636
}
37+
stage('Confirm Deploy to production') {
38+
steps {
39+
timeout(time: 60, unit: 'SECONDS') {
40+
input(message: 'Okay to Deploy?', ok: 'Let\'s Do it!')
41+
}
42+
}
43+
}
44+
stage('Deploy to Production') {
45+
steps {
46+
echo "Deploying to production..."
47+
}
48+
}
3749
}
3850
}

0 commit comments

Comments
 (0)