From d901a9ea76fbf9e038749d778c23abead6a572ae Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 27 Apr 2015 18:21:57 -0400 Subject: [PATCH] test --- dsl/kernel-lttng-modules.seed.groovy | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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) } } -- 2.34.1