jenkinsci / jenkinsci/git-plugin
[JENKINS-22861] build is not triggered automatically if branch specifier contains wildcards
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
I create a free-style software project, and config branch specifier to "*/feature/**" in order to build automatically when Stash receives a push to those branches. Git Plugin receives the NotifyCommit:
Triggering the polling of xxx
But nothing happens as expected, except the first initialise fetch.
When changing branch specifier to 'origin/feature/category' or '*/master', everything goes well. 'SCM changes detected' appears on System log.
The screenshot attachments are configs of my project.
I can't figure out what's going wrong, please help me.
---
Originally reported by
springuper, imported from: build is not triggered automatically if branch specifier contains wildcards
Raw content of original issue
I create a free-style software project, and config branch specifier to "*/feature/**" in order to build automatically when Stash receives a push to those branches. Git Plugin receives the NotifyCommit:
Triggering the polling of xxxBut nothing happens as expected, except the first initialise fetch.
When changing branch specifier to 'origin/feature/category' or '*/master', everything goes well. 'SCM changes detected' appears on System log.
The screenshot attachments are configs of my project.
I can't figure out what's going wrong, please help me.
- environment:
git plugin 2.2.1
3 attachments
- [QQ20140504-1.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/25764/QQ20140504-1.png)
> 
- [QQ20140504-2.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/25763/QQ20140504-2.png)
> 
- [QQ20140504-3.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/25762/QQ20140504-3.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.