jenkinsci / jenkinsci/gitlab-plugin
[Filter branches by name] Branch exist but get the "Following patterns don't match any branch in source repository: xxx"
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 615
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 10
Description
### Jenkins and plugins versions report
Jenkins: 2.462.1
OS: Linux - 5.15.0-118-generic
Java: 17.0.12 - OpenJDK 64-Bit Server VM
---
...
git:5.3.0
git-client:5.0.0
gitlab-plugin:1.8.1
...
### What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 22.04.4 LTS
### Reproduction steps
My project has 30 branches
1. Build Triggers
2. Build when a change is pushed to GitLab. GitLab webhook URL: xxx
3. Advanced
4. Filter branches by name
5. Type branch name e.g., test to Include text field
### Expected Results
Matching 1 branch.
### Actual Results
There is a yellow warning message → Warning : Following patterns don't match any branch in source repository
### Anything else?
If I type lower alphabet branch e.g., apple-test It can be found.
I think the root cause that is check only first 20 branches with ASC alphabet order.
Could we configure the count of branches?
### Are you interested in contributing a fix?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.