java-tutorials/jenkins-modules/jenkins-jobs/zombie-job/zombie-stop-script

7 lines
152 B
Plaintext
Raw Normal View History

Thread.getAllStackTraces().keySet().each() {
if (it.name.contains('sampleZombieJob')) {
println "Stopping $it.name"
it.stop()
}
}