简体   繁体   English

Jenkins:Gerrit&Git插件 - 缺少refspec字段?

[英]Jenkins: Gerrit & Git plugin - missing refspec field?

I am trying to set up a Jenkins job (actually it's a MultiJob, but I don't think this is relevant at this point), with a Gerrit trigger. 我试图建立一个Jenkins工作(实际上它是一个MultiJob,但我不认为这在这一点上是相关的),带有Gerrit触发器。

The documentation for the Gerrit Trigger with the Git Plugin gives instructions for the correct refspecs, choosing strategy and branch. 使用Git插件Gerrit Trigger文档提供了正确的refspecs,选择策略和分支的说明。 However, in my job setup, I do not have settings for the refspec and choosing strategy, and the options are not the same as those shown in the Gerrit trigger docs. 但是,在我的作业设置中,我没有refspec和选择策略的设置,并且选项与Gerrit触发器文档中显示的选项不同。

This is what I have: 这就是我所拥有的: 可用的Git设置

Do I have the wrong version of a plugin, or are the documentation instructions out-of-date? 我是否有错误版本的插件,或者文档说明是否已过时? Or am I looking in the wrong place for the Git settings? 或者我在寻找Git设置的错误位置?

它隐藏在“ Advanced部分中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM