3b3bb47a98
In order to be able to react on multiple verdict categories (for example Verify +1, Review +2) with one job, we need multiple definitions of trigger-on events of the same-kind (comment-added-event). This was not possible with the previous structure of event definitions. The new yaml structure definition also better reflects the XML structure. Change-Id: Idec0f2b07479c0611497126e984c13adf543ffc0
15 lines
447 B
YAML
15 lines
447 B
YAML
triggers:
|
|
- gerrit:
|
|
trigger-on-comment-added-event: true
|
|
trigger-approval-category: 'APRV'
|
|
trigger-approval-value: -1
|
|
trigger-on-change-abandoned-event: true
|
|
projects:
|
|
- project-compare-type: 'PLAIN'
|
|
project-pattern: 'test-project'
|
|
branch-compare-type: 'ANT'
|
|
branch-pattern: '**'
|
|
file-paths:
|
|
- compare-type: ANT
|
|
pattern: subdirectory/**
|