• job-dsl-plugin 1.78, job-dsl-plugin 1.80

      When using job-dsl-plugin to create a folder 

      folder(my_folder) { 

        displayname("my_folder_name")

      }

      If the folder exists with Credentials attached to it, they are lost on recreation  . Is there anyway to wrap this in a conditional? if!(folder(my_folder) {blah..blah....}.  I believe the desired behaviour here is to not blow away the credentials attached at the folder level.

       

       

          [JENKINS-44681] JobDSL Folder Creation Destroys Credentials

          Bruce Smith created issue -
          Daniel Spilker made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Spilker made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Omit Rathore made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Omit Rathore made changes -
          Comment [ This is a bug , folder meta data should remain as is ]
          Daniel Spilker made changes -
          Link New: This issue is related to JENKINS-57435 [ JENKINS-57435 ]
          Jamie Tanna made changes -
          Released As New: job-dsl-plugin 1.78
          Assignee Original: Daniel Spilker [ daspilker ] New: Jamie Tanna [ jamietanna ]
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Jamie Tanna made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jamie Tanna made changes -
          Released As Original: job-dsl-plugin 1.78 New: job-dsl-plugin 1.78, job-dsl-plugin 1.80

            jamietanna Jamie Tanna
            smithx10 Bruce Smith
            Votes:
            12 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: