Batch cancelation and deletion of pending builds
![]()
Hi,
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
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Feb 07 '14, 4:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would probably use the Plain Java Client Libraries. This could even run as a scheduled task using the JBE. See https://jazz.net/library/article/807 for some hints on the API.
Oscar Picasso selected this answer as the correct answer
|