jenkinsci / jenkinsci/git-plugin
[JENKINS-26837] Multiple Commits to Same Branch During Quiet Period Trigger Multiple Builds
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
We have a job monitoring a Git repository for commits to /release/. The job is configured with a 10-minute quiet period, and the quiet period is indeed enforced. However, when multiple commits are made to the same release branch they do not result in a single build. Instead, each commit triggers a new build. I suspect this is related to the wildcard match on all release branches, since despite checking out to a local branch the GIT_BRANCH variable is always set to "detached," but perhaps not.
---
Originally reported by dagan, imported from: Multiple Commits to Same Branch During Quiet Period Trigger Multiple Builds
Raw content of original issue
We have a job monitoring a Git repository for commits to /release/. The job is configured with a 10-minute quiet period, and the quiet period is indeed enforced. However, when multiple commits are made to the same release branch they do not result in a single build. Instead, each commit triggers a new build. I suspect this is related to the wildcard match on all release branches, since despite checking out to a local branch the GIT_BRANCH variable is always set to "detached," but perhaps not.
- environment:
Jenkins v1.590, git-plugin v2.3
Contributor guide
Assessment
This issue has not been assessed yet.