handle timeout exception
This commit is contained in:
parent
765c108d74
commit
9db0035eaa
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -17,6 +17,8 @@ pipeline {
|
|||||||
name: 'Please confirm you agree with this'
|
name: 'Please confirm you agree with this'
|
||||||
]])
|
]])
|
||||||
}
|
}
|
||||||
|
} catch(FlowInterruptedException) {
|
||||||
|
echo "This job timed out"
|
||||||
} catch(err) { // input false
|
} catch(err) { // input false
|
||||||
echo "This Job has been Aborted"
|
echo "This Job has been Aborted"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user