jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-52727] Gerrit-Trigger: Manual Trigger incorrect GERRIT_EVENT_TYPE

Open
#875 0 comments 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
226
Forks
289
PR merge metrics
No merged PRs in 30d

Description

When searching for CR under https://jenkins_url/gerrit_manual_trigger/, all patchset have the GERRIT_EVENT_TYPE set to patchset-created even when the event type should be something different, i.e. comment-added, change-merged.

Jenkins Ver: 2.121.2

Gerrit Ver: 2.15.1

Gerrit Trigger Plugin Ver: 2.27.5

---
Originally reported by stormmore, imported from: Gerrit-Trigger: Manual Trigger incorrect GERRIT_EVENT_TYPE


  • assignee: rsandell
  • status: Open
  • priority: Critical
  • component(s): gerrit-trigger-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-07

Raw content of original issue

When searching for CR under https://jenkins_url/gerrit_manual_trigger/, all patchset have the GERRIT_EVENT_TYPE set to patchset-created even when the event type should be something different, i.e. comment-added, change-merged.

Jenkins Ver: 2.121.2
Gerrit Ver: 2.15.1
Gerrit Trigger Plugin Ver: 2.27.5

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior at the gerrit_manual_trigger URL described in the issue, using searches for comment-added and change-merged events. Trace how the manual trigger assigns GERRIT_EVENT_TYPE; done means each selected change retains its actual event type instead of always reporting patchset-created.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.