We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0722e2a commit ba80625Copy full SHA for ba80625
Jenkinsfile
@@ -17,5 +17,26 @@ pipeline {
17
build job: 'Deploy-to-staging'
18
}
19
20
+
21
+ stage ('Deploy to Production'){
22
+ steps{
23
+ timeout(time:5, unit:'DAYS'){
24
+ input message:'Approve PRODUCTION Deployment?'
25
+ }
26
27
+ build job: 'Deploy-to-Prod'
28
29
+ post {
30
+ success {
31
+ echo 'Code deployed to Production.'
32
33
34
+ failure {
35
+ echo ' Deployment failed.'
36
37
38
39
40
41
42
0 commit comments