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 (61.8k33643) | 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.