github-plugin icon indicating copy to clipboard operation
github-plugin copied to clipboard

[JENKINS-75544] GitHub WebHook is not working due to a change in GitHub's specifications

Open jenkins-infra-bot opened this issue 8 months ago • 1 comments

The contents of the request Body of GitHub's WebHook have been changed.

https://github.blog/changelog/2025-04-07-changes-to-the-repository-object-in-push-webhook/

> url will provide the API URL (e.g., https://api.github.com/repos//).

 

Therefore, it does not match the URL_PATTERNS check in the GitHub Plugin and the hook does not work properly.


Originally reported by dsuket, imported from: GitHub WebHook is not working due to a change in GitHub's specifications
  • assignee: lanwen
  • status: Open
  • priority: Major
  • component(s): github-plugin
  • resolution: Unresolved
  • votes: 4
  • watchers: 6
  • imported: 2025-12-08
Raw content of original issue

The contents of the request Body of GitHub's WebHook have been changed.

https://github.blog/changelog/2025-04-07-changes-to-the-repository-object-in-push-webhook/

> url will provide the API URL (e.g., https://api.github.com/repos/<org>/<reponame>).

 

Therefore, it does not match the URL_PATTERNS check in the GitHub Plugin and the hook does not work properly.

jenkins-infra-bot avatar Apr 11 '25 01:04 jenkins-infra-bot

agilgur5:

Hi, I'm a new Jenkins contributor. I stumbled upon this via a StackOverflow question and just submitted a PR to hopefully resolve this: https://github.com/jenkinsci/github-plugin/pull/404

jenkins-infra-bot avatar Apr 26 '25 18:04 jenkins-infra-bot