diff --git a/Jenkinsfile b/Jenkinsfile index 13eaa6a..fdc2488 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' - } + }*/ } } }