jenkinsci / jenkinsci/gitlab-branch-source-plugin
Jenkins webhook latency for Gitlab branch source plugin
- Dominant language
- Java
- Stars
- 134
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
### Jenkins and plugins versions report
Environment
```text
Paste the output here
```
### What Operating System are you using (both controller, and any agents involved in the problem)?
rhel8
### Reproduction steps
Step1: Host Jenkins 2.426.3 on tomcat apache 9.0.70
Step2: Install gitlab branch source plugin
Step3: Add gitlab server config entry on Jenkins system configure side
Step4: Create job-> New item -> Organization folder -> gitlab group type job
Step5: Do a regular code commit on gitlab side and check if webhook will trigger the job continuously.
### Expected Results
Whenever we do code commit on gitlab side, it should trigger the respective gitlab group type job on Jenkins side.
### Actual Results
We have webhook latency and not working most of the time between Jenkins and gitlab for gitlab group and multibranch pipeline jobs. we have to recycle service to fix it but it should be fine for next few hours or day only, again the issue will happen.
Please help us and getting fix on this. we are using the below jenkins, tomcat and plugins for webhook.
Jenkins version 2.426.3 (open source)
apache tomcat version - 9.0.70
GitLab Version - 1.8.0
GitLab Branch Source Version- 694.v1b_045877a_b_92
GitLab API Version - 5.3.0-91.v1f9a_fda_d654f
Generic Webhook Trigger Version - 2.0.0
This is my observation, whenever i see these threads, webhook are not working.
class io.jenkins.plugins.gitlabbranchsource.GitLabMergeRequestSCMEvent Fri May 26 09:10:31 EDT 2023 / SCMEvent [6](https://issues.jenkins.io/browse/JENKINS-71357#6)
yes 5 RUNNABLERUNNABLE java.base@11.0.19/java.net.SocketInputStream.socketRead0(Native Method) 218,604 205,000 Send a thread interrupt signal to class io.jenkins.plugins.gitlabbranchsource.GitLabMergeRequestSCMEvent Fri
### Anything else?
Jenkins version 2.426.3 (open source)
apache tomcat version - 9.0.70
GitLab Version - 1.8.0
GitLab Branch Source Version- 694.v1b_045877a_b_92
GitLab API Version - 5.3.0-91.v1f9a_fda_d654f
Generic Webhook Trigger Version - 2.0.0
### Are you interested in contributing a fix?
yes interested to contribute
Contributor guide
Assessment
This issue has not been assessed yet.