jenkins-job-builder/tests/triggers/fixtures/gerrit010.yaml
Daniel Watkins 1d90d0d5ba Handle string skip-vote parameters in gerrit trigger
Prior to this commit, the code assumes that the parameters given in the
YAML will parse as Python bools.  This fails when, for example, the
string "false" is given.

Change-Id: Ia7d0f5954929d13acc268f878ce992808b258a12
Story: 2001466
Task: 6183
2018-05-30 17:00:54 -04:00

24 lines
694 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'
branch-compare-type: 'ANT'
branch-pattern: '**'
file-paths:
- compare-type: ANT
pattern: subdirectory/**
skip-vote:
successful: 'false'
failed: 'false'
unstable: 'false'
notbuilt: 'false'
silent: false
escape-quotes: false
no-name-and-email: false
dynamic-trigger-enabled: true
dynamic-trigger-url: http://myhost/mytrigger