You could try to catch the InterruptedException that is thrown while
waiting for the build result and take action from there.

/B

On Tue, Sep 1, 2015 at 3:38 PM, Sebastian Schuberth <[email protected]>
wrote:

> Hi,
>
> I'd like to extend the parameterized trigger plugin with an option to stop
> triggered builds when the parent build is stopped (see JENKINS-11257).
> Being new to plugin development, I have no idea how to do that. Should I
> use a BuildListener or RunListener to globally listen for builds to be
> finished, and sort out those what were not triggered by the parameterized
> trigger plugin, or should I use a BuildWrapper with parent builds that
> optionally stops triggered builds in a post-build step, or ...
>
> I simply don't know the options. Hints anyone?
>
> Regards,
> Sebastian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/e78e2ee9-8bd1-4d80-a036-5bdcded23a3e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/e78e2ee9-8bd1-4d80-a036-5bdcded23a3e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS2ArPE7iDfvpssrS5TxD371asdnuuFo2jf_dDPtNiJYAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to