Hi,
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 the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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.