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

Change Log - Credentials is 116G folder: stop updating password if identical

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      This is the case I have:

      1.  Script updates jenkins credential id "ABC123"' secret to "Password" which was "Password before.

      2. This updates the credential with a new encrypted string.

      3. Credential log copies the 11M credential.xml for every change.   The folder has grown to 116G in the last 24 hours.

       

      Now the cause is a rogue script I have updated the password from something like "Password" to "Password"  aka the passwords are identical but jenkins generates a new encrypted string.   Thus change log sees it as a change and records it.   So in 24 hours I have 116G worth of change logs...

      So my feature request.   Don't update the credential.xml if nothing has actually changed, specifically for the encrypted strings.   and downstream... don't create a change log entry if nothing has changed.

      From my side I'll start trying to detect and kill these scripts but would be nice to get something on the Jenkins side too.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            escoem Emilio Escobar
            Reporter:
            mikeycarter Michael Carter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: