epcim of DevOps
8/17/2017 - 4:01 PM

Clean jenkins queue

Clean jenkins queue

import hudson.model.*
def q = Jenkins.instance.queue
q.items.each { q.cancel(it.task) }