Jenkins + Gerrit Trigger Not Automatically Building

后端 未结 2 1896
遇见更好的自我
遇见更好的自我 2021-02-08 10:46

Jenkins does not seem to be automatically pulling in changes that need to be reviewed from Gerrit.

We\'re using Gerrit Trigger.

Also If I try to manually trigger

相关标签:
2条回答
  • 2021-02-08 11:10

    I was just having the same problem, and it had to do with the default Gerritt setting in my job for matching branches. In your job, under Gerritt Trigger, if your Branches Pattern says "**", make sure the Type is set to Path, or else it won't match any branches.

    0 讨论(0)
  • 2021-02-08 11:27

    I've actually stumbled over the same problem and it took me a while to figure out the UI, since I thought the branch and project configuration belongs to Dynamic Trigger Configuration. The configuration will basically need to look like this: enter image description here

    Note: my configuration uses the Silent Mode, since I don't want the plug-in to communicate back to gerrit.

    0 讨论(0)
提交回复
热议问题