简体   繁体   English

Jenkins不会在Gerrit事件上触发工作

[英]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触发全局配置

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.

相关问题 Jenkins上的Gerrit事件不会在git push上自动触发 - Gerrit event on Jenkins doesn't trigger automatically on git push Jenkins:Gerrit 事件触发插件 - Jenkins: Gerrit event trigger plugin 如何使用Gerrit在Jenkins中触发特定于Maven的工作 - How to trigger maven specific job in Jenkins with Gerrit Gerrit不会触发我的詹金斯工作 - Gerrit does not trigger my jenkins job 通过从Git / Gerrit副本/从服务器解析/接收事件,是否可以从Jenkins触发作业? - Is it possible to trigger a job from Jenkins by parsing/receiving an event from Git/Gerrit Replica/Slave server? 注入所有GERRIT env变量,就好像Jenkins作业是由gerrit事件启动的一样 - Inject all GERRIT env variables as if the Jenkins job was started by gerrit event 根据发布到补丁集的评论,gerrit-trigger 不会触发 jenkins 工作 - gerrit-trigger is not triggering jenkins job based on the comment posted to patchset Jenkins Gerrit-Trigger在成功运行作业后未报告+1 - Jenkins Gerrit-Trigger not reporting +1 verified after successful job run Jenkins Gerrit触发器插件提供了已编码的GERRIT_CHANGE_COMMIT_MESSAGE和GERRIT_EVENT_COMMENT_TEXT - Jenkins Gerrit trigger plugin gives encoded GERRIT_CHANGE_COMMIT_MESSAGE and GERRIT_EVENT_COMMENT_TEXT Jenkins没有验证/审查Gerrit的变更 - Jenkins doesn't verify/review change on Gerrit
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM