Include merge result commit in change-merged stream-event
When CI gets a change merged event what the CI most likely wants to build is not the last patch set of the change but the result on the target branch. If the merge of a change was not fast forward these are two separate commits. With this change the CI can retrieve the merge result from the newRev of a change merged event. Change-Id: I1d61ab253f4028a26cfbf0427b33873c294ee29e
This commit is contained in:
committed by
David Pursehouse
parent
959aec4d3e
commit
9686cf224b
@@ -27,6 +27,7 @@ public class ChangeMergedEvent extends ChangeEvent {
|
||||
public ChangeAttribute change;
|
||||
public PatchSetAttribute patchSet;
|
||||
public AccountAttribute submitter;
|
||||
public String newRev;
|
||||
|
||||
@Override
|
||||
public String getType() {
|
||||
|
||||
Reference in New Issue
Block a user