Gitlab Merge request events not triggering Jenkins Multi-branch pipeline

白昼怎懂夜的黑 提交于 2019-12-10 09:44:55

问题


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!


回答1:


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



来源:https://stackoverflow.com/questions/50914104/gitlab-merge-request-events-not-triggering-jenkins-multi-branch-pipeline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!