jenkinsci / jenkinsci/git-plugin
[JENKINS-45990] Git plugin support for non standard branches during auto discover
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
Git auto discover branches should be able to respect included refspecs so that it can discover branches not located in refs/heads/* an example would be refs/pull-requests/*/merge. When this is implemented, the multistage pipeline will be well on its way to be able to automatically detect and build pull requests or other manually "described" branches in refpsecs
---
Originally reported by jolykins, imported from: Git plugin support for non standard branches during auto discover
Raw content of original issue
Git auto discover branches should be able to respect included refspecs so that it can discover branches not located in refs/heads/* an example would be refs/pull-requests/*/merge. When this is implemented, the multistage pipeline will be well on its way to be able to automatically detect and build pull requests or other manually "described" branches in refpsecs
environment
```
Windows 32, 64 - All versions
Git plugin 3.5.0
Jenkins minimum version 1.625.3
```
Contributor guide
Assessment
This issue has not been assessed yet.