Skip to content

[Filter branches by name] Branch exist but get the "Following patterns don't match any branch in source repository: xxx"  #1680

@kobayashilin

Description

@kobayashilin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFor changelog: Minor bug. Will be listed after features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions