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

Global build discarders configuration isn't loaded from disk

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.229

      Description

      The global build discarder configuration gets saved, but it's never loaded.

      On every restart, Jenkins 2.221+ will always start with the "Job Build Discarder" configured, which means

      • Any custom global build discarder configuration is lost
      • Users who don't want background build discarders get the default one.

      The latter is especially annoying given that we warn against potential data loss in changelog ( https://jenkins.io/changelog/#v2.221 ) and upgrade guide (https://jenkins.io/doc/upgrade-guide/2.222/#old-builds-may-be-deleted-by-global-build-discarders ). Even one-time vigilance on update won't be good enough to prevent potentially undesirable outcomes.

        Attachments

          Issue Links

            Activity

            danielbeck Daniel Beck created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            danielbeck Daniel Beck made changes -
            Labels lts-candidate
            danielbeck Daniel Beck made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            danielbeck Daniel Beck made changes -
            Remote Link This issue links to "PR 4602 (Web Link)" [ 24800 ]
            danielbeck Daniel Beck made changes -
            Description The global build discarder configuration gets saved, but it's never loaded.

            On every restart, Jenkins 2.221+ will always start with the "Job Build Discarder" configured, which means
             * Any custom global build discarder configuration is lost
             * Users who don't want background build discarders get the default one.

            The latter is especially annoying given that we warn against potential data loss in changelog ( [https://jenkins.io/changelog/#v2.221] ) and upgrade guide ([https://jenkins.io/doc/upgrade-guide/2.222/#old-builds-may-be-deleted-by-global-build-discarders] ). Even one-time vigilance on update won't be good enough to prevent potentially undesirable outcomes.
            danielbeck Daniel Beck made changes -
            Released As Jenkins 2.229
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            danielbeck Daniel Beck made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-61256 [ JENKINS-61256 ]
            olivergondza Oliver Gondža made changes -
            Labels lts-candidate 2.222.2-fixed

              People

              Assignee:
              danielbeck Daniel Beck
              Reporter:
              danielbeck Daniel Beck
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: