jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-42770] Add an 'exclude non trivial rebase' check box

Open
#820 1 comment 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
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


  • assignee: rsandell
  • status: Open
  • priority: Minor
  • component(s): gerrit-trigger-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-06

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.