It's all about the answers!

Ask a question

auto-cancel JBE-builds after running for "too long"


Bernd van Oostrum (21735673) | asked May 19 '16, 6:03 a.m.
edited May 30 '16, 9:53 a.m. by David Lafreniere (4.8k7)
Is there a way to cancel our JBE-builds based on a timeout-property?

Our .NET-based builds usually finish after 5-10 minutes, but we've had cases where we had to abandon the build manually after running 15 hours as a result of a wrong configuration of the .NET-solution by the developer.

Regards,
Bernd.

One answer



permanent link
Ralph Schoon (63.3k33646) | answered May 19 '16, 7:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is nothing built in, I would be aware of. You could potentially try to use the build API (to find builds that are nt yet finished and cancel them). Some API is explained here: https://rsjazz.wordpress.com/2015/10/28/build-artifacts-publishing-and-automated-build-output-management-using-the-plain-java-client-libraries/

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.