Skip to content

Instantly share code, notes, and snippets.

Andrew Ferguson warandpeace

Block or report user

Report or block warandpeace

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nextrevision / deleteJenkinsJobs.groovy
Created Dec 3, 2015
Groovy script to delete all jenkins jobs that match a regex pattern
View deleteJenkinsJobs.groovy
import jenkins.model.*
def matchedJobs = Jenkins.instance.items.findAll { job -> =~ /my_regex_here/
matchedJobs.each { job ->
You can’t perform that action at this time.