99c4e02ecf
Name it instead "topics" so it won't be strange if some topics included "exercises" directory.
7 lines
140 B
Groovy
7 lines
140 B
Groovy
def jobs = Jenkins.instance.items.findAll { job -> job.name =~ /"test"/ }
|
|
|
|
jobs.each { job ->
|
|
println job.name
|
|
//job.delete()
|
|
}
|