Add new challenge
This commit is contained in:
6
challenges/jenkins/scripts/jobs_with_string.groovy
Normal file
6
challenges/jenkins/scripts/jobs_with_string.groovy
Normal file
@ -0,0 +1,6 @@
|
||||
def jobs = Jenkins.instance.items.findAll { job -> job.name =~ /"REMOVE_ME"/ }
|
||||
|
||||
jobs.each { job ->
|
||||
println job.name
|
||||
//job.delete()
|
||||
}
|
Reference in New Issue
Block a user