Tools to make Jenkins jobs from templates
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jenkins-job-builder/samples/gerrit-trigger.yaml

28 lines
1.0 KiB

- job:
name: test-gerrit-trigger
triggers:
- gerrit:
trigger-on-change-abandoned-event: true
trigger-on-change-merged-event: true
trigger-on-change-restored-event: true
trigger-on-comment-added-event: true
trigger-on-draft-published-event: true
trigger-on-patchset-uploaded-event: true
trigger-on-ref-updated-event: false
trigger-approval-category: CRVW
trigger-approval-value: 2
failure-message:
skip-vote:
successful: true
failed: false
# Missing outcome should default to false.
# unstable: false
notbuilt: true
projects:
- project-compare-type: 'PLAIN'
project-pattern: 'myproject'
branch-compare-type: 'PLAIN'
branch-pattern: 'master'
file-paths:
- compare-type: ANT
pattern: subdirectory/**