-
Bug
-
Resolution: Duplicate
-
Major
-
None
This doesn't help and actually looks like a veeery huge hack:
try { sh "bash do_magic.sh" do_another_magic() } catch (hudson.AbortException e) { if (e.getMessage().contains('script returned exit code 143')) { echo "aborted by user" throw e } else { echo "aborted by error, continuing next stage" } }
- duplicates
-
JENKINS-28822 Can't distinguish between durable task abort and failure in workflow plugin
- Resolved