You can easily iterate through jenkins groovy api and use the method http://javadoc.jenkins-ci.org/hudson/model/AbstractProject.html#removeTrigger(hudson.triggers.TriggerDescriptor) in addition to http://javadoc.jenkins-ci.org/hudson/model/AbstractProject.html#getTriggers()
Something line
Jenkins.instances?.items.findAll { it.getTrigers () }.each{
//iterate through each trigger and remove it
}
I haven't tested it out, but something like that it should work
Cheers
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/l-4c3SghZxs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/30d947e7-9e3f-4677-bfaa-2f7bc33579dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.