Gitlab合并请求事件未触发Jenkins多分支管道 [英] Gitlab Merge request events not triggering Jenkins Multi-branch pipeline
问题描述
我正在尝试使用GitLab Webhook在合并请求事件上触发Jenkins多分支管道作业.
I'm trying to trigger Jenkins Multi-branch pipeline job with GitLab Webhook on Merge request events.
在测试Webhook时,我收到以下消息:
When I'm testing the Webhook, I'm getting this message:
挂钩成功执行,但返回HTTP 409
Hook executed successfully but returned HTTP 409
当我设置不同的GitLab Webhook时,例如标签推送事件,它会起作用.
When I'm setting different GitLab Webhook, like Tag push events, it works.
Jenkins多分支管道不支持GitLab合并请求事件Webhook吗?我想念什么吗?
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?
谢谢!
推荐答案
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.
在此主题中,用户建议一些可能会添加此支持的插件.我自己还没有尝试过,也无法担保.
https://github.com/jenkinsci/gitlab-plugin/issues/416
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
这篇关于Gitlab合并请求事件未触发Jenkins多分支管道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!