Until there is a fix in the plugin, I setup a [init hook script|[https://jenkins.io/doc/book/managing/groovy-hook-scripts/#post-initialization-script-init-hook]]. The script is doing a rescan of all organizations after Jenkins starts up: {code:java} import hudson.model.AbstractItem; import jenkins.model.Jenkins; for (item in Jenkins.instance.getAllItems(AbstractItem.class)) { if (item instanceof jenkins.branch.OrganizationFolder) { item.doBuild() println("Triggered on-boot organization folder scan for " + item.fullName) } } {code}
Until there is a fix in the plugin, I setup a an [init hook script|#post-initialization-script-init-hook]]. The script is doing a rescan of all organizations after Jenkins starts up: {code:java}