cosmetics take 2
This commit is contained in:
parent
f03fd75af7
commit
6cca1bb038
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -30,18 +30,20 @@ pipeline {
|
||||
)
|
||||
}
|
||||
} catch(org.jenkinsci.plugins.workflow.steps.FlowInterruptedException e) {
|
||||
// input timed out
|
||||
error "Caught ${e.toString()}"
|
||||
} catch(err) { // input false
|
||||
} catch(err) {
|
||||
// manually aborted
|
||||
echo "This job has been aborted"
|
||||
}
|
||||
if (userInput == true) {
|
||||
/*if (userInput == true) {
|
||||
// do something
|
||||
echo "this was successful"
|
||||
} else {
|
||||
// do something else
|
||||
echo "this was not successful"
|
||||
currentBuild.result = 'FAILURE'
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user