• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      We're currently introducing JobDSL plugin for configuration purposes. We have found, that when we use the "folder" declaration, any custom settings made in these folders are trashed and reset to "unconfigured" state. This affects at least:

      • Icons set by "CustomFolderIconPlugin"
      • Views defined for the folders

      maybe more settings are affected. Since JobDSL does not support configuring these parameters at all, I would expect it to leave these settings alone if they exist. Even in case it would support them one day, I would generally assume, that any config setting in existing items, not explicitly defined in JobDSL scripts is not touched by JobDSL plugin and left as is.

          [JENKINS-70264] JobDSL trashes existing folder configuration

          Andreas Messer created issue -
          Andreas Messer made changes -
          Description Original: We're currently introducing JobDSL plugin for configuration purposes. We have found, that when we use the "folder" declaration, any custom settings made in these folders are trashed and reset to "unconfigured" state. This affects at least:
          * Icons set by "CustomFolderIconPlugin"
          * Views defined for the folders
          maybe more settings are affected. Since JobDSL does not support configuring these parameters at all, I would expect it to leave these settings alone if they exist. Even in case it would support them one day, I would generally assume, that any config setting in existing items, not explicitly defined in JobDSL scripts is not touched by JobDSL plugin and left as is.
          New: We're currently introducing JobDSL plugin for configuration purposes. We have found, that when we use the "folder" declaration, any custom settings made in these folders are trashed and reset to "unconfigured" state. This affects at least:

          * Icons set by "CustomFolderIconPlugin"
          * Views defined for the folders
           
          maybe more settings are affected. Since JobDSL does not support configuring these parameters at all, I would expect it to leave these settings alone if they exist. Even in case it would support them one day, I would generally assume, that any config setting in existing items, not explicitly defined in JobDSL scripts is not touched by JobDSL plugin and left as is.

            jamietanna Jamie Tanna
            amesser Andreas Messer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: