}
}
steps {
- copyArtifacts("${jobName}/arch=\$arch", "linux-artifact/**", '', false, false) {
+ copyArtifacts("${jobName}/arch=\$arch,label=kernel", "linux-artifact/**", '', false, false) {
latestSuccessful(true) // Latest successful build
}
shell(readFileFromWorkspace('lttng-modules/lttng-modules-dsl-master.sh'))
ongoingBuild.push(job.scheduleBuild2(0))
println "\\t trigering" + HyperlinkNote.encodeTo('/' + job.url, job.fullDisplayName)
} else {
- wait(random.nextInt(120000)
+ Thread.sleep(random.nextInt(120000))
ongoingBuild.removeAll{ it.isCancelled() || it.isDone() }
}
}
ongoingBuild.push(job.scheduleBuild2(0))
println "\\t trigering " + HyperlinkNote.encodeTo('/' + job.url, job.fullDisplayName)
} else {
- wait(random.nextInt(60000)
+ Thread.sleep(random.nextInt(60000))
ongoingBuild.removeAll{ it.isCancelled() || it.isDone() }
}
}