jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-8226] Add reviewers in gerrit when a build is successful
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
We are using the gerrit-trigger plugin to trigger review builds. When the build is successful we have it configured to +1 the change in gerrit.
This enhancement would provide for the ability to add a specific set of reviewer automatically when a build is successful. For example, currently there are the values that allow for custom messages depending on the build results. There could also be values for each type of build result that allows for a list of gerrit accounts to add to the review.
We currently have a script that uses gerrit stream-events to accomplish this, but it would be much nicer to have it integrated into hudson itself. This seems like the logical place to do it.
There may be a more generic way to provide this, which would also be fine.
---
Originally reported by cygnl7, imported from: Add reviewers in gerrit when a build is successful
rsandell
Raw content of original issue
We are using the gerrit-trigger plugin to trigger review builds. When the build is successful we have it configured to +1 the change in gerrit.
This enhancement would provide for the ability to add a specific set of reviewer automatically when a build is successful. For example, currently there are the values that allow for custom messages depending on the build results. There could also be values for each type of build result that allows for a list of gerrit accounts to add to the review.
We currently have a script that uses gerrit stream-events to accomplish this, but it would be much nicer to have it integrated into hudson itself. This seems like the logical place to do it.
There may be a more generic way to provide this, which would also be fine.
Contributor guide
Assessment
This issue has not been assessed yet.