jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-52727] Gerrit-Trigger: Manual Trigger incorrect GERRIT_EVENT_TYPE
- 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
rsandell
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
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