Hello,

How can I distinguish between a job that was aborted by timeout and a job 
that was aborted by a user (clicking the red X button)?

*try {*

*          ....  *
* } catch (hudson.AbortException e) {*


*            //catching an exception if job was aborted - both by 
user/timeout*
*} catch (Exception err) {*
*        .....    *
*}*


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e6a6ccbe-ee14-441a-9b8a-e00009fbea90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to