bgrainger / leeroy-pull-request-builder

Builds pull requests for Leeroy-based builds.
MIT License
1 stars 3 forks source link

Feature Request: Finer grained rebuild command #16

Open randymarsh77 opened 2 years ago

randymarsh77 commented 2 years ago

Current Behavior LPRB supports "rebuild this" to re-trigger all PR builds. One primary use case of the command is to respond to a transient failure in some build infrastructure.

Problem In many cases, transient failures in build infrastructure only affect one of the possibly many PR builds managed by LPRB. Re-triggering all builds over utilizes resources, and might result in slower time-to-successful-checks if the only check(s) need re-triggering are faster than the others.

Proposals

bgrainger commented 2 years ago

Support additional matching on the comment body to filter the list of jobs being re-triggered

Suggestion: make it just a one-liner, i.e., rebuild JobName1[, JobName2[, JobName3]]

Example usage: rebuild MyJob-Win-PR, MyJob-Mac-PR