jenkinsci / jenkinsci/git-plugin
[JENKINS-28149] "Excluded Users" option doesn't work with multiple branches specified in "Branch Specifier"
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
I specified two branches separately in "Branch Specifier" option as below:
Branch Specifier(blank for 'any'): */master
Branch Specifier(blank for 'any'): */develop
I also specified two Excluded users under the "Polling ignores commits from certain users' option, show as following:
Excluded Users:
James
Kobe
Then when James push his changes to either */master or */develop branches, jenkins would still trigger a build, same happened with user Kobe, which is unreasonable.
Based on my understanding, jenkins should not trigger a build since both James and Kobe are whithin the excluded user list. This is definitely a bug, hope someone will fix it soon, thank you all!
---
Originally reported by neteaser007, imported from: "Excluded Users" option doesn't work with multiple branches specified in "Branch Specifier"
Raw content of original issue
I specified two branches separately in "Branch Specifier" option as below:
Branch Specifier(blank for 'any'): */master
Branch Specifier(blank for 'any'): */developI also specified two Excluded users under the "Polling ignores commits from certain users' option, show as following:
Excluded Users:
James
KobeThen when James push his changes to either */master or */develop branches, jenkins would still trigger a build, same happened with user Kobe, which is unreasonable.
Based on my understanding, jenkins should not trigger a build since both James and Kobe are whithin the excluded user list. This is definitely a bug, hope someone will fix it soon, thank you all!
environment
```
jenkins ver: 1.589
git plugin: 2.3.5
```
Contributor guide
Assessment
This issue has not been assessed yet.