add input stage
This commit is contained in:
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@@ -20,6 +20,19 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage ('Deploy?') {
|
||||||
|
|
||||||
|
try {
|
||||||
|
input(
|
||||||
|
id: 'Proceed1', message: 'Proceed to Production deployment?', parameters: [
|
||||||
|
[$class: 'BooleanParameterDefinition', defaultValue: true, description: '', name: 'Please confirm deployment']
|
||||||
|
])
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
stage ('Deployment Stage') {
|
stage ('Deployment Stage') {
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Reference in New Issue
Block a user