Merge pull request #71 from daniel-lang/note-on-merge-request

Fixes #66, option 'note on merge request' can be deactivated
This commit is contained in:
bassrock 2015-04-13 10:14:20 -07:00
commit 5a0063de3a
1 changed files with 2 additions and 1 deletions

View File

@ -57,12 +57,13 @@ public class GitLabPushTrigger extends Trigger<AbstractProject<?, ?>> {
}
@DataBoundConstructor
public GitLabPushTrigger(boolean triggerOnPush, boolean triggerOnMergeRequest, boolean triggerOpenMergeRequestOnPush, boolean ciSkip, boolean setBuildDescription, boolean allowAllBranches, List<String> allowedBranches) {
public GitLabPushTrigger(boolean triggerOnPush, boolean triggerOnMergeRequest, boolean triggerOpenMergeRequestOnPush, boolean ciSkip, boolean setBuildDescription, boolean addNoteOnMergeRequest, boolean allowAllBranches, List<String> allowedBranches) {
this.triggerOnPush = triggerOnPush;
this.triggerOnMergeRequest = triggerOnMergeRequest;
this.triggerOpenMergeRequestOnPush = triggerOpenMergeRequestOnPush;
this.ciSkip = ciSkip;
this.setBuildDescription = setBuildDescription;
this.addNoteOnMergeRequest = addNoteOnMergeRequest;
this.allowAllBranches = allowAllBranches;
this.allowedBranches = allowedBranches;
}