Project

General

Profile

action #168013

Updated by tinita about 1 month ago

## Motivation 

 Currently `openqa-advanced-retrigger-jobs` makes one API call to `/jobs/id/restart` per job. 
 The `/jobs/restart` API endpoint can already handle multiple jobs. We should use that. 
 Especially now since we trigger a `git_clone` for every restart event, see #164898. 

 Also we can now use the new comment feature, so also the optional comment API call can be replaced. 

 ## Suggestions 

 * Improve script in general while implementing this, e.g. offer helpful output in dry_run mode what SQL would be executed

Back