bb2a4effa4
Allow to specify multiple branch patterns in a 'branches' block within the 'project' block. If no 'branches' block is present, fall back to using the single branch specified directly in the 'project' section. If a branch is specified both at the project level, and in the 'branches' section, ignore the one at project level. Closes-Bug: #1302502 Change-Id: I1fb2ce0bb3776d365f2c0e98a703c6dfba5fac7f
27 lines
798 B
YAML
27 lines
798 B
YAML
triggers:
|
|
- gerrit:
|
|
trigger-on-comment-added-event: true
|
|
trigger-approval-category: 'APRV'
|
|
trigger-approval-value: 1
|
|
projects:
|
|
- project-compare-type: 'PLAIN'
|
|
project-pattern: 'test-project'
|
|
branches:
|
|
- branch-compare-type: 'PLAIN'
|
|
branch-pattern: 'master'
|
|
- branch-compare-type: 'PLAIN'
|
|
branch-pattern: 'stable'
|
|
file-paths:
|
|
- compare-type: ANT
|
|
pattern: subdirectory/**
|
|
skip-vote:
|
|
successful: true
|
|
failed: true
|
|
unstable: true
|
|
notbuilt: true
|
|
silent: false
|
|
escape-quotes: false
|
|
no-name-and-email: false
|
|
dynamic-trigger-enabled: true
|
|
dynamic-trigger-url: http://myhost/mytrigger
|