Add triggers to dsl-triggers-job
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 10 Jun 2015 20:42:43 +0000 (16:42 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 10 Jun 2015 20:42:43 +0000 (16:42 -0400)
For kernel: build start at midnight.
For module: poll scm daily (random time for each job)

dsl/kernel-lttng-modules.seed.groovy

index de04158ba335dc94dee01b8c84a9373d3f3576b0..95aeee490e8f81d91308c36d954a41175ad90203 100644 (file)
@@ -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')
+                               }
                        }
                }
     }
This page took 0.024019 seconds and 4 git commands to generate.