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

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

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: evergreen
    • Labels:
      None
    • Sprint:
      Evergreen - Milestone 1
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          rtyler R. Tyler Croy added a comment -

          @batmat actually did this already, closing out.

          Show
          rtyler R. Tyler Croy added a comment - @batmat actually did this already, closing out.
          Hide
          rtyler R. Tyler Croy added a comment -
          Show
          rtyler R. Tyler Croy added a comment - Daniel pointed this out: https://github.com/daniel-beck/hide-maven-plugin/
          Hide
          jglick Jesse Glick added a comment -

          It has been proposed to move FreestyleProject to a plugin, which would solve this more neatly. (Moving Project, much less AbstractProject, would be a much larger endeavor due to the number of improper dependencies throughout Jenkins core.)

          Show
          jglick Jesse Glick added a comment - It has been proposed to move FreestyleProject to a plugin, which would solve this more neatly. (Moving Project , much less AbstractProject , would be a much larger endeavor due to the number of improper dependencies throughout Jenkins core.)

            People

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

              Dates

              • Created:
                Updated:
                Resolved: