This looks like solves my problem!

Thanks for response

2016-05-31 12:59 GMT-03:00 Victor Martinez <victormartinezru...@gmail.com>:

> 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 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-users+unsubscr...@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.
>



-- 
*Davi Diório Mendes*
Eng. de Computação - Turma de 2011
Universidade de São Paulo - EESC/ICMC

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2B7fAA6z73AZPJ5m6ifBKC0SNXDSBFq-wr0gTqr5A6ESAc2tEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to