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

Disable non-Pipeline/Folder items in the new item view

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Minor Minor
    • evergreen
    • None
    • Evergreen - Milestone 1

      03:40  <abayer> Actually, no core change needed - just a plugin implementing a
                      DescriptorVisibilityFilter that had filter(Object context, Descriptor descriptor)
                      return false whenever context is an instance of ItemGroup and descriptor is an
                      instance of freestyle or matrix's descriptors.
      03:40  <abayer> hoorah
      03:41  <rtyler> hm
      03:42  <rtyler> I've been considering whether a generic "Jenkins Essentials plugin" should exist, like
                      a grab bag of functionality to suppor Jenkins Essentials
      03:42  <abayer> I'd need to make sure that didn't break things horribly, and I'd probably want to have
                      a global config flag allowing people to opt in to enabling those job types, but it
                      should work.
      03:42  <abayer> Sounds reasonable to me.
      

      See also https://github.com/jenkinsci/extension-filter-plugin

            rtyler R. Tyler Croy
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: