How to queue all unsuccessful plans for a project
Description
Keep your project's builds successful by queuing failed builds one at a time to, hopefully, correct environmental problems or random errors.
Steps
--action runFromPlanList --project XXX --state NOT_SUCCESSFUL --excludeDisabled --continue --common "-a queueBuild --plan @plan@ --wait"
Notes
- Use the wait parameter to have only one build run at a time and report status back to this process.
- Use continue to keep going, even if a build fails along the way.
- Use excludeDisabled to not bother with disabled builds in the the list and reporting.