[JIRA] (JENKINS-59593) enableStatistics and successfulLogging config values are not loaded properly

11 views
Skip to first unread message

stephen.humphries@ibm.com (JIRA)

unread,
Sep 30, 2019, 5:00:04 PM9/30/19
to jenkinsc...@googlegroups.com
Stephen Humphries created an issue
 
Jenkins / Bug JENKINS-59593
enableStatistics and successfulLogging config values are not loaded properly
Issue Type: Bug Bug
Assignee: Tomas Westling
Attachments: Screen Shot 2019-09-30 at 15.39.42.png
Components: build-failure-analyzer-plugin
Created: 2019-09-30 20:59
Environment: Jenkins v. 2.194, BFA v. 1.23.0

Noticed this behaviour on our production server then replicated it in a fresh Jenkins/Build Failure Analyzer install in a docker container.
Priority: Major Major
Reporter: Stephen Humphries

(This applies when MongoDB is selected as the KB type.)

The Build Failure Analyzer settings on the Manage Jenkins > Configure System page are always loaded with "Enable statistics logging" selected and "Enable statistics logging of successful builds" unselected, regardless of the values that were previously set and persisted to build-failure-analyzer.xml. Anytime the configuration page is saved, then, these two options are reset, even if the user did not touch them.

The result is that anytime changes are made to the configuration, care must be taken to ensure that the statistics checkboxes are set as desired – since so many settings are included in this single page, this is not particularly safe and can result in important information being lost.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

stephen.humphries@ibm.com (JIRA)

unread,
Oct 1, 2019, 9:29:06 AM10/1/19
to jenkinsc...@googlegroups.com
Stephen Humphries updated an issue
Change By: Stephen Humphries
(This applies when MongoDB is selected as the KB type.)

The Build Failure Analyzer settings on the Manage Jenkins > Configure System page are always loaded with "Enable statistics logging" selected and "Enable statistics logging of successful builds" unselected, regardless of the values that were previously set and persisted to build-failure-analyzer.xml. Anytime the configuration page is saved, then, these two options are reset, even if the user did not touch them.

The result is that anytime any time changes are made to the configuration, care must be taken to ensure that the statistics checkboxes are set as desired – since so many settings are included in this single page, this is not particularly safe and can result in important information being lost.

tomas.westling@axis.com (JIRA)

unread,
Oct 4, 2019, 4:32:03 AM10/4/19
to jenkinsc...@googlegroups.com
Tomas Westling started work on Bug JENKINS-59593
 
Change By: Tomas Westling
Status: Open In Progress

tomas.westling@axis.com (JIRA)

unread,
Oct 4, 2019, 8:19:03 AM10/4/19
to jenkinsc...@googlegroups.com

tomas.westling@axis.com (JIRA)

unread,
Oct 4, 2019, 8:19:03 AM10/4/19
to jenkinsc...@googlegroups.com

stephen.humphries@ibm.com (JIRA)

unread,
Oct 4, 2019, 10:00:04 AM10/4/19
to jenkinsc...@googlegroups.com

tomas.westling@axis.com (JIRA)

unread,
Oct 16, 2019, 6:44:02 AM10/16/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages