[JIRA] (JENKINS-61688) Global build discarders configuration isn't loaded from disk

0 views
Skip to first unread message

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2020, 8:24:03 PM3/25/20
to jenkinsc...@googlegroups.com
Daniel Beck created an issue
 
Jenkins / Bug JENKINS-61688
Global build discarders configuration isn't loaded from disk
Issue Type: Bug Bug
Assignee: Daniel Beck
Components: core
Created: 2020-03-26 00:23
Environment: 2.222.1
Priority: Critical Critical
Reporter: Daniel Beck

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2020, 8:39:03 PM3/25/20
to jenkinsc...@googlegroups.com
Daniel Beck started work on Bug JENKINS-61688
 
Change By: Daniel Beck
Status: Open In Progress

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2020, 8:47:02 PM3/25/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2020, 8:47:03 PM3/25/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 25, 2020, 8:54:02 PM3/25/20
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
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.

dbeck@cloudbees.com (JIRA)

unread,
Mar 28, 2020, 2:20:03 PM3/28/20
to jenkinsc...@googlegroups.com
Change By: Daniel Beck
Status: In Review Fixed but Unreleased
Resolution: Fixed
Released As: Jenkins 2.229

dbeck@cloudbees.com (JIRA)

unread,
Mar 30, 2020, 7:19:03 AM3/30/20
to jenkinsc...@googlegroups.com

ogondza@gmail.com (JIRA)

unread,
Apr 3, 2020, 5:01:03 AM4/3/20
to jenkinsc...@googlegroups.com
Oliver Gondža updated an issue
Change By: Oliver Gondža
Labels: lts 2.222.2 - candidate fixed
Reply all
Reply to author
Forward
0 new messages