It's all about the answers!

Ask a question

Batch cancelation and deletion of pending builds

Oscar Picasso (311420) | asked Feb 05 '14, 10:17 a.m.
edited Feb 05 '14, 10:18 a.m.

We regularly restart our jbe agents but this cause to have a lot of builds that keep pending afterward.
What is the best way to cancel and delete all this pending builds automatically after the jbe restart.

I was thinking about using the Java API. Your thoughts ?

Accepted answer

permanent link
Ralph Schoon (63.3k33646) | answered Feb 07 '14, 4:52 a.m.
I would probably use the Plain Java Client Libraries. This could even run as a scheduled task using the JBE. See for some hints on the API.
Oscar Picasso selected this answer as the correct answer

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.