Skip to content

Commit

Permalink
Add all trigger fields to the documentation (#1602)
Browse files Browse the repository at this point in the history
* Revert "[maven-release-plugin] prepare for next development iteration"

This reverts commit 8389cbc.

* Made some changes in README.md for gitlab triggers

* Corrected pom.xml

* Reduce white space changes to simplify code review

---------

Co-authored-by: Mark Waite <[email protected]>
Co-authored-by: Kris Stern <[email protected]>
  • Loading branch information
3 people authored Jan 1, 2024
1 parent d60efb3 commit 149614f
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,22 @@ properties([
branchFilterType: "NameBasedFilter",
includeBranchesSpec: "release/qat",
excludeBranchesSpec: "",
triggerOnBranchDeleteRequest: true,
triggerOnlyIfNewCommitsPushed: false,
triggerOnPipelineEvent: false,
triggerOnAcceptedMergeRequest: true,
triggerOnClosedMergeRequest: false,
triggerOnApprovedMergeRequest: false,
labelsThatForcesBuildIfAdded: "",
branchFilterName: "",
sourceBranchRegex: "",
targetBranchRegex: '^(.*/)?main$',
mergeRequestLabelFilterConfig: [
include: "",
exclude: ""
],
pendingBuildName: "jenkins",
cancelPendingBuildsOnUpdate: true
]
])
])
Expand Down Expand Up @@ -451,7 +467,19 @@ triggers {
excludeBranchesSpec: "",
pendingBuildName: "Jenkins",
cancelPendingBuildsOnUpdate: false,
secretToken: "abcdefghijklmnopqrstuvwxyz0123456789ABCDEF")
secretToken: "abcdefghijklmnopqrstuvwxyz0123456789ABCDEF",
triggerToBranchDeleteRequest: false,
triggerOnlyIfNewCommitsPushed: false,
triggerOnPipelineEvent: false,
triggerOnAcceptedMergeRequest: true,
triggerOnClosedMergeRequest: false,
triggerOnApprovedMergeRequest: false,
labelsThatForcesBuildIfAdded: "",
branchFilterName: "",
sourceBranchRegex: "",
targetBranchRegex: '^(.*/)?main$',
mergeRequestLabelFilterConfig: [include: "", exclude: ""]
)
}
```

Expand Down

0 comments on commit 149614f

Please sign in to comment.