From 6cca1bb038d51e3af2ae501300257f3ba9243c23 Mon Sep 17 00:00:00 2001 From: Dominik Chilla Date: Sun, 12 Jul 2020 00:16:17 +0200 Subject: [PATCH] cosmetics take 2 --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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' - } + }*/ } } }