我在 Jenkins 中有 2 个验证触发器:“已创建补丁集”和“已合并更改”。
之前当 Gerrit 中的某个人点击“提交”时,Gerrit 会延迟合并,直到 Jenkins 回复 SUCCESS。但是现在 Gerrit 立即合并,同时 Jenkins 稍后返回 FAILURE。
你知道我做错了什么吗?
这是我的.config:
[access]
inheritFrom = All-Projects
[access "refs/*"]
owner = group Project_Admins
forgeAuthor = group Project_Admins
forgeCommitter = group Project_Admins
push = deny group Project_Admins
push = +force group Project_Admins
pushTag = group Project_Admins
exclusiveGroupPermissions = push
[access "refs/heads/*"]
pushTag = +force group Project_Admins
label-Code-Review = -2..+2 group Project_Admins
label-Verified = -1..+1 group Project_Admins
submit = group Project_Admins
push = deny group Project_Admins
push = group Project_Admins
[access "refs/tags/*"]
push = +force group Project_Admins
push = +force group Project_Admins
pushTag = +force group Project_Admins
pushTag = +force group Project_Admins
create = group Project_Admins
create = group Project_Admins
[submit]
mergeContent = true