# :gerrit_verify_triggers: Override Gerrit Triggers.
# :mvn-global-settings: The name of the Maven global settings to use for
# Maven configuration. (default: global-settings)
+ # :cron: Cron schedule when to trigger the job. This parameter also
+ # supports multiline input via YAML pipe | character in cases where
+ # one may want to provide more than 1 cron timer. (default: '')
######################
# Default parameters #
mvn-version: mvn33
stream: master
submodule-recursive: true
+ cron: ''
gerrit_release_triggers:
- comment-added-contains-event:
choosing-strategy: default
triggers:
+ - timed: '{obj:cron}'
- gerrit:
server-name: '{gerrit-server-name}'
trigger-on: '{obj:gerrit_release_triggers}'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
triggers:
+ - timed: '{obj:cron}'
- lf-infra-github-pr-trigger:
trigger-phrase: '^build release$'
only-trigger-phrase: true