Merge pull request #731 from mreichel/Bug723
#723 "Build on successful pipeline events" setting will not stay set
This commit is contained in:
commit
84e808632c
|
@ -383,6 +383,11 @@ public class GitLabPushTrigger extends Trigger<Job<?, ?>> {
|
|||
this.acceptMergeRequestOnSuccess = acceptMergeRequestOnSuccess;
|
||||
}
|
||||
|
||||
@DataBoundSetter
|
||||
public void setTriggerOnPipelineEvent(boolean triggerOnPipelineEvent) {
|
||||
this.triggerOnPipelineEvent = triggerOnPipelineEvent;
|
||||
}
|
||||
|
||||
// executes when the Trigger receives a push request
|
||||
public void onPost(final PushHook hook) {
|
||||
if (branchFilter == null) {
|
||||
|
|
Loading…
Reference in New Issue