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() }
}
}