Re: Remove build triggers section

2016-05-31 Thread Daniel Beck
> On 31.05.2016, at 17:59, Victor Martinez > wrote: > > Jenkins.instances?.items `items` will not get items in folders, so is very configuration dependent. `allItems` OTOH will get also get e.g. Matrix configurations. `getAllItems(TopLevelItem.class)` is

Re: Remove build triggers section

2016-05-31 Thread Davi Diório Mendes
This looks like solves my problem! Thanks for response 2016-05-31 12:59 GMT-03:00 Victor Martinez : > Hi, > > You can easily iterate through jenkins groovy api and use the method >

Remove build triggers section

2016-05-31 Thread Victor Martinez
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

Remove build triggers section

2016-05-31 Thread Davi Diório Mendes
Hi everyone, I am working with gearman serving multiples jenkins master. The team's architect asked me a way remove build triggers section of jenkins projects, in order to let a gearman client trigger the jobs. I searched a lot and found nothing. Does someone know a plugin to this, or knows