test
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 27 Apr 2015 22:21:57 +0000 (18:21 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 27 Apr 2015 22:21:57 +0000 (18:21 -0400)
dsl/kernel-lttng-modules.seed.groovy

index c908a229e4cdb1dbf1c104f33335cd5a4e044881..cfce275e4c4337bfefb3a2cc2bfce91f20080384 100644 (file)
@@ -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)
     }
 }
This page took 0.023499 seconds and 4 git commands to generate.