On Wed, Dec 2, 2015 at 7:55 AM, Victor Martinez
<[email protected]> wrote:
> jenkins.model.Jenkins.instance?.getAllItems(com.cloudbees.hudson.plugins.folder.Folder).each
> { folder ->
> println "Folder - ${folder}"
> folder.getItems().each {
> println "\t job - ${it}"
> }
> }
Or more simply, depending on your needs:
Jenkins.instance.allItems.each {println it}
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" 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-dev/CANfRfr25BrO9fZ6C2hMyxKMAOmURkAmdc6C1UahZAuDghtZd5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.