David Pursehouse e4da33d13b Allow to omit list of projects in Gerrit trigger config
In some cases, for example when using the dynamic trigger config, the
list of projects is not needed. Allow to omit the 'projects' section
of the configuration.

Change-Id: I7c9d2ed03b305ee7c7379564c4b73de1991278f4
2016-03-08 14:00:10 +09:00

9 lines
271 B
YAML

triggers:
- gerrit:
trigger-on-comment-added-event: true
trigger-approval-category: 'APRV'
trigger-approval-value: -1
trigger-on-change-abandoned-event: true
dynamic-trigger-enabled: true
dynamic-trigger-url: http://myhost/mytrigger