From d585fdc44a2106349e5a5ff22cf59f82bcbcbfbd Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Wed, 10 Jun 2015 16:42:43 -0400 Subject: [PATCH] Add triggers to dsl-triggers-job For kernel: build start at midnight. For module: poll scm daily (random time for each job) --- dsl/kernel-lttng-modules.seed.groovy | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index de04158..95aeee4 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -325,6 +325,9 @@ if (fail){ steps { systemGroovyCommand(dslTriggerKernel) } + triggers { + cron("H 0 * * *") + } } modulesBranches.each { branch -> @@ -332,6 +335,9 @@ if (fail){ steps { systemGroovyCommand(dslTriggerModule.replaceAll("JOBPREFIX",modulesPrefix + separator + branch + separator)) } + triggers { + scm('@daily') + } } } } -- 2.34.1