简体   繁体   中英

gerrit trigger - comment added contains regular expression gets started by different expression/trigger

I have 2 independent jobs working on same project1/master. I have configured gerrit trigger to start the job #1(sandbox-build) on comment containing regular expression.

The job #1(sandbox-build) starts as expected, but if somebody starts job #2 (by creating new patchset) he also starts job #1 (and he shouldn't as it contains different regular expession -"regular-build").

Why it behaves like that? I would like job #1 to be started only by my trigger "sanbox-build". Any idea how could i possibly fix it? 在此处输入图片说明

是的,只需通过单击两个“X”来删除 Job1 的“Trigger on”部分上 Gerrit 触发器配置的“Patchset Created”和“Draft Published”部分。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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