From: Jonathan Rajotte Date: Mon, 27 Apr 2015 22:21:57 +0000 (-0400) Subject: test X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d901a9ea76fbf9e038749d778c23abead6a572ae;p=lttng-ci.git test --- diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index c908a22..cfce275 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -278,20 +278,13 @@ if (fail){ } """ if (isJenkinsInstance) { - try{ - def kernel_trigger_job = hudson.model.Hudson.instance.getItem("dsl-trigger-kernel") - kernel_trigger_job.delete() - } catch(e){ - println("Kernel trigger already missing") - } - freeStyleJob("dsl-trigger-kernel") { steps { systemGroovyCommand(dslTriggerKernel) } } // Trigger the kernel build - kernel_trigger_job = hudson.model.Hudson.instance.getItem("dsl-trigger-kernel") + def kernel_trigger_job = hudson.model.Hudson.instance.getItem("dsl-trigger-kernel") kernel_trigger_job.scheduleBuild2(0) } }