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

JobDSL Folder Creation Destroys Credentials

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      job-dsl-plugin 1.78

      Description

      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.

       

       

        Attachments

          Issue Links

            Activity

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: