jenkinsci / jenkinsci/git-plugin

[JENKINS-32707] Git plugin built the same commit 1300 times

Open
#2,800 5 comments 0 reactions 0 assignees View on GitHub
component:git-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

Our git plugin is set up to poll for commits whenever a commit is pushed, and when we left on Friday evening it seems that Jenkins build the same commit ~1300 times. It seemed to start at 18:34 on Friday and then finish at 05:00 this morning (Monday).

Our builds take ~1 minute to run at the moment, and a quick look through the console log seems to suggest that the pre-build made Jenkins decide it needed to do another build

---
Originally reported by drugcrazed, imported from: Git plugin built the same commit 1300 times


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 2025-12-02

Raw content of original issue

Our git plugin is set up to poll for commits whenever a commit is pushed, and when we left on Friday evening it seems that Jenkins build the same commit ~1300 times. It seemed to start at 18:34 on Friday and then finish at 05:00 this morning (Monday).

Our builds take ~1 minute to run at the moment, and a quick look through the console log seems to suggest that the pre-build made Jenkins decide it needed to do another build

environment

```
Jenkins: 1.644

git: 2.3.5

git-client: 1.16.1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.