Jenkins + Gerrit触发器不会自动生成 [英] Jenkins + Gerrit Trigger Not Automatically Building

查看:970
本文介绍了Jenkins + Gerrit触发器不会自动生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Jenkins似乎并没有自动引入需要从Gerrit进行审查的更改.

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

我们正在使用Gerrit触发器.

We're using Gerrit Trigger.

此外,如果我尝试手动触发一些操作,似乎什么也没发生.

Also If I try to manually trigger some, it seems like nothing ever happens.

Gerrit触发器管理区域中的控件"似乎并不多...闪烁正在启动",正在停止"或正在重新启动"

The "control" in the Gerrit Trigger management area, doesn't seem to much... flashes either "starting", "stopping" or "restarting"

有什么想法我做错了吗?

Any ideas where I went wrong?

推荐答案

我遇到了同样的问题,这与我的工作中默认Gerritt设置有关,用于匹配分支. 在您的工作中,如果您的分支模式"显示为"**",请在Gerritt触发器下,确保将类型"设置为路径",否则它将与任何分支都不匹配.

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.

这篇关于Jenkins + Gerrit触发器不会自动生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆