auto-cancel JBE-builds after running for "too long"
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
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/