jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-45773] Global grace period not working for Git (not Github) push notification and Multibranch Pipeline

Open
#672 1 comment 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:major resolution:unresolved
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


  • status: Open
  • priority: Major
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251211-141027

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

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.