-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Windows 32, 64 - All supported versions
Git-Client plugin version 2.5.0
Jenkins minimum version 1.625.3
So that git-plugin discoverBranches can discover non standard branches i.e. branches not in refs/heads/* but other paths (as provided) by ref specs, the git-client plugin needs to be able to accept "pattern" for gitRemoteReferences because current functionality will only accept a single pattern and an attempt to put multiple patterns in the current implementation causes the "pattern" argument to concatenate the patterns as single string which doesn't appear to match anything
Can't you achieve what you're requesting by using multiple refspecs?
The git drop down (for GitHub and BitBucket and Git) allows adding more refspecs,.