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

Cannot add folder properties

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      As per Docs (https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#folder) there is a possibility to configure folder properties.

       

      In the folder configuration, I see a "properties" section, but there is nothing (no button, no form-fields, ...)

      See attached screenshot.

       

      I'd expect an "add" button or similar.

       

        Attachments

          Activity

          christophlinder Christoph Linder created issue -
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Do you have any plugin contributing properties?

          Show
          oleg_nenashev Oleg Nenashev added a comment - Do you have any plugin contributing properties?
          christophlinder Christoph Linder made changes -
          Field Original Value New Value
          Attachment jenkins-plugins.csv [ 42308 ]
          Hide
          christophlinder Christoph Linder added a comment -

          Probably lots

          EnvInjector is the first I'm thinking of, then some tools

           

          See attachment jenkins-plugins.csv

           

          Show
          christophlinder Christoph Linder added a comment - Probably lots EnvInjector is the first I'm thinking of, then some tools   See attachment jenkins-plugins.csv  
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          EnvInjector is a JobProperty, not a FolderProperty. You cannot use JobProperties in this configuration page

          FolderProperty is a separate extension point. Implementations: https://jenkins.io/doc/developer/extensions/cloudbees-folder/#abstractfolderproperty

          Show
          oleg_nenashev Oleg Nenashev added a comment - EnvInjector is a JobProperty, not a FolderProperty. You cannot use JobProperties in this configuration page FolderProperty is a separate extension point. Implementations: https://jenkins.io/doc/developer/extensions/cloudbees-folder/#abstractfolderproperty
          Hide
          christophlinder Christoph Linder added a comment -

          sorry for the misunderstanding... feeling a little bit stupid right now

           

          So... to have environment variables defined on folder level, I'd have to place an feature request on EnvInjector to support the AbstractFolderProperty extensin point?

          Show
          christophlinder Christoph Linder added a comment - sorry for the misunderstanding... feeling a little bit stupid right now   So... to have environment variables defined on folder level, I'd have to place an feature request on EnvInjector to support the AbstractFolderProperty extensin point?
          Hide
          jglick Jesse Glick added a comment -

          The folder-properties plugin claims to provide a feature analogous to the proprietary feature described here. I have not personally evaluated it.

          Show
          jglick Jesse Glick added a comment - The folder-properties plugin claims to provide a feature analogous to the proprietary feature described here . I have not personally evaluated it.
          Hide
          jglick Jesse Glick added a comment -

          Cf. HOSTING-527.

          Show
          jglick Jesse Glick added a comment - Cf. HOSTING-527.
          jglick Jesse Glick made changes -
          Link This issue relates to HOSTING-527 [ HOSTING-527 ]
          Hide
          jglick Jesse Glick added a comment -

          As Oleg alluded to, there are other (open-source) folder properties contributed by various plugins. For example, with Pipeline: Groovy Libraries installed, you can define folder-level libraries. (There are also folder-level Credentials, but these are deliberately suppressed from the Configure screen.)

          Show
          jglick Jesse Glick added a comment - As Oleg alluded to, there are other (open-source) folder properties contributed by various plugins. For example, with Pipeline: Groovy Libraries installed, you can define folder-level libraries. (There are also folder-level Credentials , but these are deliberately suppressed from the Configure screen.)
          jglick Jesse Glick made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Hide
          christophlinder Christoph Linder added a comment -

          Thanks for the explanations!!!

          Show
          christophlinder Christoph Linder added a comment - Thanks for the explanations!!!
          christophlinder Christoph Linder made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            dnusbaum Devin Nusbaum
            Reporter:
            christophlinder Christoph Linder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: