I amtrying to automate this work through groovy script. On my jenkins
master I have more than 200 jobs where I want to enable bitbucket trigger,
How can I do that with groovy script. Please help.
I already tried this but it din't work.
for(item in Hudson.instance.items){
item.addTrigger(com.cloudbees.jenkins.plugins.BitBucketTrigger$DescriptorImpl)
}
--
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/bb32e28d-dee8-4e3a-b597-df412178692a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.