jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-42770] Add an 'exclude non trivial rebase' check box
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
The gerrit trigger plugin allow us to exclude gerrit event when they occur after a trivial rebase. I'd like to get the exact opposite feature : trigger a job only when it's a trivial rebase. That way I could perform a quicker check on trivial rebase and full check on non trivial updates
Another way that could help me do this would be to make available in the GERRIT_EVENT_TYPE parameter
---
Originally reported by xgouchet, imported from: Add an 'exclude non trivial rebase' check box
rsandell
Raw content of original issue
The gerrit trigger plugin allow us to exclude gerrit event when they occur after a trivial rebase. I'd like to get the exact opposite feature : trigger a job only when it's a trivial rebase. That way I could perform a quicker check on trivial rebase and full check on non trivial updates
Another way that could help me do this would be to make available in the GERRIT_EVENT_TYPE parameter
- environment:
Jenkins 2.44 on Debian Jessie, Gerrit Trigger Plugin 2.23.0
Contributor guide
Research direction
Start by tracing the existing trivial-rebase exclusion in the gerrit-trigger-plugin and inspect how the GERRIT_EVENT_TYPE parameter is exposed. Determine whether the feature should be represented by a checkbox, an event type, or both. Done means jobs can be configured to trigger only for trivial rebases while non-trivial updates retain separate behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100