add input stage
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -23,16 +23,10 @@ pipeline {
|
|||||||
stage ('Deploy?') {
|
stage ('Deploy?') {
|
||||||
|
|
||||||
steps {
|
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