This commit is contained in:
Dominik Chilla 2020-07-11 23:36:48 +02:00
parent 696a2cae96
commit 765c108d74

2
Jenkinsfile vendored
View File

@ -9,12 +9,14 @@ pipeline {
script {
def userInput
try {
timeout(time: 5, unit: 'SECONDS') {
userInput = input(id: 'Proceed1', message: 'Was this successful?', parameters: [[
$class: 'BooleanParameterDefinition',
defaultValue: true,
description: '',
name: 'Please confirm you agree with this'
]])
}
} catch(err) { // input false
echo "This Job has been Aborted"
}