jenkinsci / jenkinsci/branch-api-plugin
[JENKINS-45773] Global grace period not working for Git (not Github) push notification and Multibranch Pipeline
- Dominant language
- Java
- Stars
- 39
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Not sure which component is the real issue cause here, so tagging all.
We have a global grace period in Jenkins of 900s, a Gitblit installation with a post-receive hook triggering /git/notifyCommit?url=, and a Multibranch pipeline configured on the gitrepourl.
When the git hook triggers a build or a multibranch indexing, the resulting builds are never keeping the global grace period, but are scheduled immediately.
I guess, when trying to reproduce, one could omit the hook and call the notifyCommit URL directly after pushing into the Git repository
---
Originally reported by beyerj, imported from: Global grace period not working for Git (not Github) push notification and Multibranch Pipeline
Raw content of original issue
Not sure which component is the real issue cause here, so tagging all.
We have a global grace period in Jenkins of 900s, a Gitblit installation with a post-receive hook triggering <jenkinsurl>/git/notifyCommit?url=<gitrepourl>, and a Multibranch pipeline configured on the gitrepourl.
When the git hook triggers a build or a multibranch indexing, the resulting builds are never keeping the global grace period, but are scheduled immediately.
I guess, when trying to reproduce, one could omit the hook and call the notifyCommit URL directly after pushing into the Git repository
Contributor guide
Assessment
This issue has not been assessed yet.