jenkinsci / jenkinsci/gitlab-branch-source-plugin

[JENKINS-60452] Received gitlab webhook push event but nothing happpened

Open
#658 1 comment 0 reactions 0 assignees View on GitHub
component:gitlab-branch-source-plugin imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
134
Forks
113
PR merge metrics
No merged PRs in 30d

Description

from the jenkins.log and $JENKINS_HOME/logs/jenkins.branch.MultiBranchProject.log

I can confirm the Gitlab server did send the push event and the jenkins server did receive the request

In the jenkins.log I can see the received  push events as follows:

2019-12-11 08:53:38.415+0000 [id=498] INFO o.g.api.webhook.WebHookManager#handleRequest: handleEvent: X-Gitlab-Event=Push Hook

2019-12-11 08:53:38.418+0000 [id=498] INFO i.j.p.g.GitLabWebHookListener#onPushEvent: PUSH EVENT

2019-12-11 08:53:38.419+0000 [id=498] INFO i.j.p.g.GitLabWebHookListener#onPushEvent: {..............etc

but no futher action about this trigger event

In the jenkins.branch.MultiBranchProject.log we may find the reason:

[Wed Dec 11 16:53:38 CST 2019] Received Push event to branch master in project xxx/yyy UPDATED event from 172.24.22.100 ⇒ http://172.24.31.106:8080/gitlab-webhook/post with timestamp Wed Dec 11 16:53:38 CST 2019

[Wed Dec 11 16:53:38 CST 2019] Finished processing Push event to branch master in project xxx/yyyy UPDATED event from 172.24.22.100 ⇒ http://172.24.31.106:8080/gitlab-webhook/post with timestamp Wed Dec 11 16:53:38 CST 2019. Matched 0.

what does the matched 0 mean ? It works fine when the result is "Matched 1" , but it just seems out of control and wired……

 

 

---
Originally reported by sora, imported from: Received gitlab webhook push event but nothing happpened


  • assignee: baymac
  • status: Open
  • priority: Critical
  • component(s): gitlab-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 20251216-182730

Raw content of original issue

from the jenkins.log and $JENKINS_HOME/logs/jenkins.branch.MultiBranchProject.log

I can confirm the Gitlab server did send the push event and the jenkins server did receive the request

In the jenkins.log I can see the received  push events as follows:

2019-12-11 08:53:38.415+0000 [id=498] INFO o.g.api.webhook.WebHookManager#handleRequest: handleEvent: X-Gitlab-Event=Push Hook
2019-12-11 08:53:38.418+0000 [id=498] INFO i.j.p.g.GitLabWebHookListener#onPushEvent: PUSH EVENT
2019-12-11 08:53:38.419+0000 [id=498] INFO i.j.p.g.GitLabWebHookListener#onPushEvent: {..............etc

but no futher action about this trigger event

In the jenkins.branch.MultiBranchProject.log we may find the reason:

[Wed Dec 11 16:53:38 CST 2019] Received Push event to branch master in project xxx/yyy UPDATED event from 172.24.22.100 ⇒ http://172.24.31.106:8080/gitlab-webhook/post with timestamp Wed Dec 11 16:53:38 CST 2019
[Wed Dec 11 16:53:38 CST 2019] Finished processing Push event to branch master in project xxx/yyyy UPDATED event from 172.24.22.100 ⇒ http://172.24.31.106:8080/gitlab-webhook/post with timestamp Wed Dec 11 16:53:38 CST 2019. Matched 0.

what does the matched 0 mean ? It works fine when the result is "Matched 1" , but it just seems out of control and wired……

 
 

environment

```
Jenkins ver. 2.190.1

GitLab Branch Source v1.4.0
```

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.