Bug 424033 - Gerrit Trigger runs only for child (cascading) job but not parent job
Summary: Gerrit Trigger runs only for child (cascading) job but not parent job
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact: Geoff Waymark CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 12:31 EST by Andreas Sewe CLA
Modified: 2013-12-15 15:30 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sewe CLA 2013-12-13 12:31:03 EST
Build Identifier: Hudson: 3.0.1-b2

Originally filed as Bug 423808 against our HIPP Hudson instance at Eclipse (https://hudson.eclipse.org/recommenders/):

The problem is occurs when two jobs (in our case: gerrit.master.luna and gerrit.master.kepler) both have the Gerrit Trigger plugin configured and one is a child of the other. The UI shows that the Gerrit and Git configuration is inherited completely. Nevertheless, a new change set in Gerrit only triggers the child job, not the parent job (from where the Gerrit Trigger config was inherited in the first place.)

Reproducible: Always

Steps to Reproduce:
1. Create a job A
2. Configure the Gerrit Trigger plugin for A
3. Create a project B with A as cascading job
4. Do not configure the Gerrit Trigger plugin explicitly for B; let the config be inherited.
5. Push a change into Gerrit
Actual Results:  
Only job B is executed.

Expected Results:  
Both jobs A and B are executed.

Not sure whether this is a problem with just the Gerrit Trigger plugin or with the way cascading works.
Comment 1 Winston Prakash CLA 2013-12-13 15:20:35 EST
Hi Andreas, Lots of cascading related changes went in Hudson 3.1.1, so need to check if this issue still exists in 3.1.1. Can you check with 3.1.1-RC1 (http://www.eclipse.org/downloads/download.php?file=/hudson/war/hudson-3.1.1-RC1.war)
Comment 2 Andreas Sewe CLA 2013-12-15 15:30:15 EST
Hi Winston. I am afraid I can't easily switch to a different Hudson version; both Hudson and Gerrit are maintained by the Eclipse Foundation.

I may be able to set up a local test install of Hudson in a few days, though, (currently traveling) that also builds whats in our Eclipse Gerrit. I'll report back on this, then.