Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33106

CustomOrganizationFolderDescriptor does not work after a dynamic installation

      Currently CustomOrganizationFolderDescriptor only works if the plugins offering SCMNavigatorDescriptor (like github-branch-source) and MultiBranchProjectFactoryDescriptor (like workflow-multibranch), as well as branch-api itself, are already loaded during Jenkins startup.

      Basically this code would need to also be run in response to an ExtensionListListener, though that requires a 1.625+ dep.

      Alternately, we could fix the problem the right way in DescriptorVisibilityFilter, using a new core API dependency.

      Whether it is fixable using the current 1.609.x core dependency, I am not sure. HideGeneric.filter is called every time the New Item page is displayed, but it is probably too late to add a descriptor to the list while that list is being filtered.

          [JENKINS-33106] CustomOrganizationFolderDescriptor does not work after a dynamic installation

          Jesse Glick created issue -
          Jesse Glick made changes -
          Labels New: 2.0
          Jesse Glick made changes -
          Epic Link New: JENKINS-31152 [ 165808 ]
          Jesse Glick made changes -
          Assignee Original: Stephen Connolly [ stephenconnolly ]
          Patrick Wolf made changes -
          Assignee New: Manuel Recena Soto [ recena ]
          Jesse Glick made changes -
          Assignee Original: Manuel Recena Soto [ recena ] New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 30 (Web Link)" [ 14057 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Manuel Recena Soto made changes -
          Link New: This issue is related to JENKINS-34239 [ JENKINS-34239 ]
          Patrick Wolf made changes -
          Comment [ [~shott85] reported today that this is still an issue. He had a fresh install and the GH Org item type did not display until he restarted. ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: