Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Environment:2.222.1
-
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
- is related to
-
JENKINS-61256 Warning log spam due to new (default) BackgroundGlobalBuildDiscarder
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Labels | lts-candidate |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Remote Link | This issue links to "PR 4602 (Web Link)" [ 24800 ] |
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. |
Released As | Jenkins 2.229 | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Fixed but Unreleased [ 10203 ] |
Status | Fixed but Unreleased [ 10203 ] | Resolved [ 5 ] |
Link |
This issue is related to |
Labels | lts-candidate | 2.222.2-fixed |