jenkinsci / jenkinsci/git-plugin
[JENKINS-17346] git project building twice every time new change committed
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
Running git-plugin 1.3.0, git-client-plugin 1.0.5, jenkins version 1.506
Whenever I check in, my build will trigger twice (but only 2 times, never more than that). I've tried limiting to specific branches, and adding different refspecs, but nothing has seemed to work.
I have attached 3 screenshots. The first is the build information page on the first build. Please note that it says, "2 times"
The 2nd is the polling log for the first build.
The 3rd is the polling log for the 2nd build.
I find that if I watch the polling, the build does not seem to trigger right away and spends some time resetting itself in the quiet period. Once it triggers, it usually triggers with 2 builds to do right away, which can be viewed in the 4th picture.
---
Originally reported by el_chapitan, imported from: git project building twice every time new change committed
Raw content of original issue
Running git-plugin 1.3.0, git-client-plugin 1.0.5, jenkins version 1.506
Whenever I check in, my build will trigger twice (but only 2 times, never more than that). I've tried limiting to specific branches, and adding different refspecs, but nothing has seemed to work.
I have attached 3 screenshots. The first is the build information page on the first build. Please note that it says, "2 times"
The 2nd is the polling log for the first build.
The 3rd is the polling log for the 2nd build.
I find that if I watch the polling, the build does not seem to trigger right away and spends some time resetting itself in the quiet period. Once it triggers, it usually triggers with 2 builds to do right away, which can be viewed in the 4th picture.
- environment:
MacOS, Linux
4 attachments
- [Screen Shot 2013-03-25 at 1.06.25 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/23332/Screen%20Shot%202013-03-25%20at%201.06.25%20PM.png)
> 
- [Screen Shot 2013-03-25 at 1.06.38 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/23333/Screen%20Shot%202013-03-25%20at%201.06.38%20PM.png)
> 
- [Screen Shot 2013-03-25 at 1.06.51 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/23334/Screen%20Shot%202013-03-25%20at%201.06.51%20PM.png)
> 
- [Screen Shot 2013-03-25 at 1.18.37 PM.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/23335/Screen%20Shot%202013-03-25%20at%201.18.37%20PM.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.