Detecting build abort in pipeline

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Detecting build abort in pipeline


In the following code, Is it possible to find if the build is aborted by user or grunt failed

     sh "grunt voter"


The problem is that exception ex in both cases is always hudson.AbortException

Kind regards,

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 [hidden email].
To view this discussion on the web visit
For more options, visit