From: Jonathan Rajotte Date: Fri, 19 Jun 2015 20:46:18 +0000 (-0400) Subject: Change cutOff for test and remove wait for kernel completion X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a034649dd85c5b59e38b1b43ac2e8d12d62137bc;p=lttng-ci.git Change cutOff for test and remove wait for kernel completion --- diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index e404d83..84d0e4b 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -87,7 +87,7 @@ class BasicVersion implements Comparable { } } -def kernelTagCutOff = new BasicVersion("4.1", "") +def kernelTagCutOff = new BasicVersion("3.0", "") def modulesBranches = [] //def modulesBranches = ["master","stable-2.5","stable-2.6", "stable-2.4"] @@ -266,19 +266,10 @@ jobs.each { job -> if (lastBuild == null) { try { def future = job.scheduleBuild2(0, new Cause.UpstreamCause(build)) - println "\\tWaiting for the completion of " + HyperlinkNote.encodeTo('/' + job.url, job.fullDisplayName) - anotherBuild = future.get() + println "\\tLaunched " + HyperlinkNote.encodeTo('/' + job.url, job.fullDisplayName) } catch (CancellationException x) { throw new AbortException("\${job.fullDisplayName} aborted.") } - println HyperlinkNote.encodeTo('/' + anotherBuild.url, anotherBuild.fullDisplayName) + " completed. Result was " + anotherBuild.result - - build.result = anotherBuild.result - if (anotherBuild.result != Result.SUCCESS && anotherBuild.result != Result.UNSTABLE) { - // We abort this build right here and now. - fail = true - println("Build Failed") - } } else { println("\\tAlready built") }