03d99c56e8
When this boolean parameter is set to true, updating a merge request cancels any pending merge-request builds. Change-Id: Ic5ef400cf4cd088680b92bd10b88b79520795729
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<triggers class="vector">
|
|
<com.dabsquared.gitlabjenkins.GitLabPushTrigger>
|
|
<triggerOpenMergeRequestOnPush>both</triggerOpenMergeRequestOnPush>
|
|
<branchFilterType>RegexBasedFilter</branchFilterType>
|
|
<spec/>
|
|
<triggerOnPush>false</triggerOnPush>
|
|
<triggerOnMergeRequest>false</triggerOnMergeRequest>
|
|
<triggerOnAcceptedMergeRequest>false</triggerOnAcceptedMergeRequest>
|
|
<triggerOnClosedMergeRequest>false</triggerOnClosedMergeRequest>
|
|
<triggerOnNoteRequest>true</triggerOnNoteRequest>
|
|
<noteRegex>Retrigger</noteRegex>
|
|
<ciSkip>false</ciSkip>
|
|
<skipWorkInProgressMergeRequest>false</skipWorkInProgressMergeRequest>
|
|
<setBuildDescription>false</setBuildDescription>
|
|
<cancelPendingBuildsOnUpdate>false</cancelPendingBuildsOnUpdate>
|
|
<addNoteOnMergeRequest>false</addNoteOnMergeRequest>
|
|
<addVoteOnMergeRequest>false</addVoteOnMergeRequest>
|
|
<acceptMergeRequestOnSuccess>true</acceptMergeRequestOnSuccess>
|
|
<addCiMessage>true</addCiMessage>
|
|
<allowAllBranches>false</allowAllBranches>
|
|
<targetBranchRegex>(.*debug.*|.*release.*)</targetBranchRegex>
|
|
<secretToken>secret-build-token</secretToken>
|
|
<includeBranchesSpec>include1, include2</includeBranchesSpec>
|
|
<excludeBranchesSpec>exclude1, exclude2</excludeBranchesSpec>
|
|
</com.dabsquared.gitlabjenkins.GitLabPushTrigger>
|
|
</triggers>
|
|
</project>
|