I'm trying to trigger Jenkins Multi-branch pipeline job with GitLab Webhook on Merge request events.
When I'm testing the Webhook, I'm getting this message:
Hook executed successfully but returned HTTP 409
When I'm setting different GitLab Webhook, like Tag push events, it works.
Is GitLab Merge request events Webhook not supported with Jenkins multi-branch pipeline? Am i missing something?
If it's not supported, does anyone have workaround for that?
Thanks!
Scroll down to the Build Triggers section. Enable the checkbox for Build when a change is pushed to GitLab . Leave all options at their default value. In the expanded section, locate the Repository URL field and copy/paste the GitLab project URL (same URL as step 2).
https://github.com/jenkinsci/gitlab-plugin#git-configuration-for-multibranch-pipelineworkflow-jobs
Yeah, the readme notes that this functionality is not supported. Merge Events are just ignored as of now.
In this thread a user suggests some plugins that may add this support. I have not tried them myself and can not vouch.
https://github.com/jenkinsci/gitlab-plugin/issues/416
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With