Jenkins and Gerrit event trigger handling Multiple CLs with same topic name

9 views
Skip to first unread message

Kamesh Velu

unread,
Mar 29, 2019, 2:59:58 PM3/29/19
to Jenkins Users
Hi
I am using Jenkins and Gerrit Event trigger to trigger pre-submit jobs for my repo (I am using repo to manage my git repositories). I am working on multiple CLs (from different git repo) that have dependencies on each other. I am using same topic name for all these CLs to tag them as dependent. Whenever I make a change to one CL, Jenkins will pick the CLs in the topic and tag all the CLs as "verified -1" on Gerrit. But only the CL which has a code change will run the job and update "verified +1". I had to manually re-trigger Jenkins job for all other CLs that doesn't have any code changes. BTW I have selected "Exclude No Code Changes" for all my jobs to avoid unnecessary runs. I believe this may be the cause for this behavior.

I would like to tap the window of Jenkins user community to see how a situation like this is handle correctly. What is your workflow/settings to handle multiple CLs with same topic?

Thanks
Kamesh
Reply all
Reply to author
Forward
0 new messages