[英]Jenkins doesn't trigger job on gerrit event
I cant figure out how to setup gerrit trigger plugin. 我不知道如何设置gerrit触发器插件。
Manual build start builds current repo correctly. 手动构建开始会正确构建当前存储库。 Test gerrit plugin connection is "Success".
测试gerrit插件连接为“成功”。
Gerrit is configured according to plugin description article: https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger 根据插件描述文章配置Gerrit: https : //wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger
Jenkins is 1.635; 詹金斯为1.635; Gerrit trigger is 2.17.2.
Gerrit触发器是2.17.2。 Gerrit is v2.11.3
Gerrit是v2.11.3
Also tried "Type: plain. Pattern: project1, branches: */base/**" gerrit project settings. 还尝试了“类型:普通。模式:project1,分支:* / base / **” gerrit项目设置。 didnt work.
没有工作。
Gerrit trigger plugin global config: Gerrit触发插件的全局配置:
Gerrit trigger plugin global config expanded (it has serveradmin user on the picture but i tried user created for jenkins as well): Gerrit触发器插件的全局配置已扩展(在图片上有serveradmin用户,但我也尝试为jenkins创建用户):
Job settings: 作业设置:
Probably I'm missing something. 可能我缺少了一些东西。 Is there a way to figure out what's wrong?
有没有办法找出问题所在? Maybe some console commands to figure out if gerrit jenkins user can reach the stream & plugin log?
也许一些控制台命令可以确定gerrit jenkins用户是否可以访问流和插件日志?
It seems you need to update Gerrit to the last version and give the good "Access Right" to your Jenkins user. 看来您需要将Gerrit更新到最新版本,并为您的Jenkins用户提供良好的“访问权限”。
Follow this set up 遵循此设置
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.