From 9db0035eaa34a1348ad6ef7ed4e91aea7ba73426 Mon Sep 17 00:00:00 2001 From: Dominik Chilla Date: Sat, 11 Jul 2020 23:39:56 +0200 Subject: [PATCH] handle timeout exception --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 88eb186..2e4df2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,6 +17,8 @@ pipeline { name: 'Please confirm you agree with this' ]]) } + } catch(FlowInterruptedException) { + echo "This job timed out" } catch(err) { // input false echo "This Job has been Aborted" }