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

enableStatistics and successfulLogging config values are not loaded properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • 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.
    • Similar Issues:
    • Released As:
      1.23.1

      Description

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

        Attachments

          Issue Links

            Activity

            Hide
            t_westling Tomas Westling added a comment -
            Show
            t_westling Tomas Westling added a comment - I have uploaded a fix here: https://github.com/jenkinsci/build-failure-analyzer-plugin/pull/112  
            Hide
            shumphries Stephen Humphries added a comment -

            Tomas Westling Great, thanks a lot for your speedy work on this!

            Show
            shumphries Stephen Humphries added a comment - Tomas Westling Great, thanks a lot for your speedy work on this!

              People

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

                Dates

                Created:
                Updated:
                Resolved: