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

enableStatistics and successfulLogging config values are not loaded properly

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

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

          Stephen Humphries created issue -
          Stephen Humphries made changes -
          Description Original: (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.
          New: (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.
          Tomas Westling made changes -
          Link New: This issue is duplicated by JENKINS-59610 [ JENKINS-59610 ]
          Tomas Westling made changes -
          Link Original: This issue is duplicated by JENKINS-59610 [ JENKINS-59610 ]
          Tomas Westling made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Tomas Westling made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Tomas Westling made changes -
          Link New: This issue relates to JENKINS-59610 [ JENKINS-59610 ]
          Tomas Westling made changes -
          Released As New: 1.23.1
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: