> On 31.05.2016, at 17:59, Victor Martinez <victormartinezru...@gmail.com> 
> 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 probably the best approach.

-- 
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/A5CA0CF7-4B39-4049-B87A-2E899F689B75%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to