Hello guys,
I am pretty new to jenkins. I have encountered a problem and need your kind help :p
I have setup a project, lets say project A. This project contains a certain project B as part of it(via "trigger/call builds on other projects" with "Block until the triggered projects finish their builds" option checked).
I would like to fail the ongoing run of project B when I hit the little cancel button(<server>/job/#projectA#/#run#/stop) of project A. I browsed the job configuration page but found no solution.
So my question is:
1) is there sort of hudson api(like cancel event listener) I can use to compose a groovy script and do the job gracefully?
Thanks