Open devensa opened 6 months ago
Hi @devensa ,
Can you enable debug for the plugin in Jenkins? Send the log of the webhook from Gitlab (You can see this in the configuration of this specific webhook to found the request and response). And send the log of the plugin from Jenkins ?
@devensa Are you sure about your Gitlab version? The minimum requirement is Gitlab 11, not 1.8.0
Hi @Turiok, Thanks for your response. I will enable the verbose log and attach the jenkins and gitlab logs. we are using gitlab Jenkins plugin https://plugins.jenkins.io/gitlab-plugin/ v1.8.1. we are using Gitlab which version is 15.11.
Hi @devensa ,
this is not the the gitlab-plugin repository here. It's gitlab-branch-source-plugin. gitlab-plugin repository : https://github.com/jenkinsci/gitlab-plugin
Hi @devensa ,
There is an option in administrator settings.
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 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