I am trying to use the console to list jobs and restrictions as where they can be run from. I have hundreds of jobs and 100+ nodes. All inherited. My script is listed below. Any help would be appreciated.
import hudson.model.* for(item in Hudson.instance.items) { println(item.name) println(item.lastBuild) this is where I want to list the entry for “Restrict where this project can be run” println ('\n') } -- 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. For more options, visit https://groups.google.com/groups/opt_out.