jenkinsci / jenkinsci/git-plugin
[JENKINS-46416] Pipeline always poll the last build branch only
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
We have a few single pipeline job that is setup to run when changes in different project folder happen. It will get instructed to poll when a `curl http://ourjenkins/git/notifyCommit?url=git_url` happen.
```
Repo/
ProjectA/
ProjectB/
```
We have set branches to build to be `any`, however, it always only polls the last build branch instead of the latest branch.
---
Originally reported by
zac_kwan, imported from: Pipeline always poll the last build branch only
Raw content of original issue
We have a few single pipeline job that is setup to run when changes in different project folder happen. It will get instructed to poll when a `curl http://ourjenkins/git/notifyCommit?url=git_url` happen.
```
Repo/
ProjectA/ProjectB/
```
We have set branches to build to be `any`, however, it always only polls the last build branch instead of the latest branch.
Contributor guide
Assessment
This issue has not been assessed yet.