jenkins-job-builder/tests/triggers/fixtures/gitlab007.yaml
Christoph Erhardt 03d99c56e8 Add parameter "cancel-pending-builds-on-update" for trigger "gitlab"
When this boolean parameter is set to true, updating a merge request
cancels any pending merge-request builds.

Change-Id: Ic5ef400cf4cd088680b92bd10b88b79520795729
2020-04-16 16:56:50 +02:00

21 lines
549 B
YAML

triggers:
- gitlab:
trigger-push: true
trigger-merge-request: true
trigger-accepted-merge-request: true
trigger-closed-merge-request: true
ci-skip: true
set-build-description: true
cancel-pending-builds-on-update: false
add-note-merge-request: true
add-vote-merge-request: true
add-ci-message: true
allow-all-branches: true
include-branches:
- 'master'
- 'master2'
- 'local-test'
exclude-branches:
- 'broken-test'
- 'master-foo'