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

enableStatistics and successfulLogging config values are not loaded properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 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.
    • 1.23.1

      (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 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.

            t_westling Tomas Westling
            shumphries Stephen Humphries
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: