Jenkins and Gitlab: Webhook isn't running

后端 未结 4 1960
时光取名叫无心
时光取名叫无心 2021-02-20 17:47

I have a couple of servers:

  1. Jenkins
  2. Gitlab

On gitlab, I have a webhook:

On Push events -> http://{jenkinsIP}:8080/gitlab         


        
4条回答
  •  情话喂你
    2021-02-20 18:18

    You don't have to put a schedule in the "poll SCM" box, it's enough to enable this option. (even if jenkins warns you (yellow), that nothing will ever happen). Then, the webhook at gitlab does his job. I configured my stuff following http://juristr.com/blog/2014/01/git-flow-jenkins-gitlab/ and it works

提交回复
热议问题