jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-49134] Trigger a build when a reviewer is added to the change
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
At the moment there are several events that can trigger a build. Some are missing though, like triggering a build when a reviewer has been added or a review has been (re)assigned. It would be beneficial to have this as well. Ideally any event in Gerrit should (potentially) be used to trigger a build.
Having this option (to trigger a build when a reviewer has been added) will allow us to first run a verification job prior to reviewing a patch. Only when the build is successful a review will be done.
Alternative would be to use the patchset-created event to trigger a build to do a verification. We already use this option for verification builds. Since we want to include additional tests during a pre-review build, we cannot rely on the verification builld. (thus there are 2 distinct builds, one verification build and one pre-review build).
Would be great if this could be added a an upcoming release. Many thanks in advance.
---
Originally reported by johan_vliek, imported from: Trigger a build when a reviewer is added to the change
rsandell
Raw content of original issue
Hi,
At the moment there are several events that can trigger a build. Some are missing though, like triggering a build when a reviewer has been added or a review has been (re)assigned. It would be beneficial to have this as well. Ideally any event in Gerrit should (potentially) be used to trigger a build.
Having this option (to trigger a build when a reviewer has been added) will allow us to first run a verification job prior to reviewing a patch. Only when the build is successful a review will be done.
Alternative would be to use the patchset-created event to trigger a build to do a verification. We already use this option for verification builds. Since we want to include additional tests during a pre-review build, we cannot rely on the verification builld. (thus there are 2 distinct builds, one verification build and one pre-review build).
Would be great if this could be added a an upcoming release. Many thanks in advance.
Contributor guide
Assessment
This issue has not been assessed yet.