Hi,

   In the jenkins-jobs repo I have a few jobs defined in the jobs/ 
<https://bitbucket.org/Moxiesoft/jenkins-jobs/src/master/bel_jobs/concierge-release-builds/>
subjobs folder. When trying to freeze one of those jobs, they're not 
selectable in the drop-down list for freezable jobs(example jobs within the 
subjobs folder) .Jobs that are not in that folder, do appear and are 
freezable. The folder *subjobs* itself is available in the drop-down, but 
running the freeze job on it does not freeze the jobs contained within that

// loop over jobs and list them
import com.cloudbees.hudson.plugins.folder.*
import jenkins.model.*
hudson.model.Hudson.instance.items.collect { it.getName() }.sort()

Would somebody help me to list all the jobs including the jobs within the 
subjobs folder.

-- 
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/e654fb65-a766-422d-981d-63728d9b5e95%40googlegroups.com.

Reply via email to