jenkinsci / jenkinsci/gerrit-trigger-plugin
[JENKINS-10336] trigger plugin does not compare paths correctly
- Dominant language
- Java
- Stars
- 226
- Forks
- 289
- PR merge metrics
- No merged PRs in 30d
Description
Using the "Plain" branch type, if you do a branch named "features/tuner/hit2" (probably anything with two slashes, I would guess), then the Gerrit trigger plugin will never start a job for the branch.
I am using Jenkins version 1.413 and trigger version 2.3.0.
The job is building for one other branch, using "Plain" type, targeted at "master"
This problem can be worked around by changing "Plain" to "Path"
---
Originally reported by bnovc, imported from: trigger plugin does not compare paths correctly
rsandell
Raw content of original issue
Using the "Plain" branch type, if you do a branch named "features/tuner/hit2" (probably anything with two slashes, I would guess), then the Gerrit trigger plugin will never start a job for the branch.
I am using Jenkins version 1.413 and trigger version 2.3.0.
The job is building for one other branch, using "Plain" type, targeted at "master"
This problem can be worked around by changing "Plain" to "Path"
Contributor guide
Research direction
Start by reproducing the issue with a Plain branch named features/tuner/hit2 and a target of master in the gerrit-trigger-plugin. Compare that behavior with the Path branch type; done means the plugin starts the job for the nested branch without requiring the workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100