add input stage
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -23,15 +23,9 @@ pipeline {
|
||||
stage ('Deploy?') {
|
||||
|
||||
steps {
|
||||
try {
|
||||
input(
|
||||
id: 'Proceed1', message: 'Proceed to Production deployment?', parameters: [
|
||||
[$class: 'BooleanParameterDefinition', defaultValue: true, description: '', name: 'Please confirm deployment']
|
||||
])
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
||||
}
|
||||
steps {
|
||||
input('Do you want to deploy?')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user