jenkinsci / jenkinsci/gitlab-plugin
Filter By Branch RegEx Not Working
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 615
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 10
Description
### Before submitting an issue I have first:
- [x] read the documentation on the [homepage](https://github.com/jenkinsci/gitlab-plugin)
- [x] searched for similar already existing issue
- [x] confirmed that my GitLab webhook is using the http://JENKINS_URL/project endpoint and not the http://JENKINS_URL/job endpoint
*(if you have performed all the above, remove the paragraph and continue describing the issue with template below)*
## Issue
Below you will see screenshots of my setup where I am trying to build only if a regular expression filter matches the branch. Please have a look and help me identify where it is that I might have the wrong regular expression or the wrong information filled in.
What I am looking for is branches to match `12345-procurement-**` or `procurement-**`.



You will notice on the last line that the merge commit is not the one that is for the branch that has procurement is the name of the branch.

### Context
- **Gitlab plugin version**: 1.5.13
- **Gitlab version**: Gitlab Enterprise
- **Jenkins version**: 2.222.1
- **Job type**: Freestyle
Contributor guide
Assessment
This issue has not been assessed yet.