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

Checkbox "Enable statistics logging of successful build" won't get applied when "Enable Statistics logging" doesn't change

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In global configuration when using Mongo DB as storage type, the checkbox "Enable statistics logging of successful builds" only gets saved, when the status of "Enable Statistics logging" gets also changed.

      E.g.:
      Enable Statistics logging: true
      Enable statistics logging of successful build: false

      When you check "Enable statistics logging of successful build" and apply it, it won't get saved. It's still disabled.

      But when you uncheck "Enable Statistics logging" AND check "Enable statistics logging of successful build", then both get saved correctly.

      I created a pull reguest with a hotfix for this: https://github.com/jenkinsci/build-failure-analyzer-plugin/pull/38

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Robert Sandell
          Path:
          src/main/java/com/sonyericsson/jenkins/plugins/bfa/db/MongoDBKnowledgeBase.java
          http://jenkins-ci.org/commit/build-failure-analyzer-plugin/3295e3e6a49e3616944509fcd9827c9bfa15bff9
          Log:
          Merge pull request #38 from Jochen-A-Fuerbacher/hotfixEqualsInMongoDbKnowledgeBase

          JENKINS-30643 Hotfix for MongoDB statistics configuration.

          Compare: https://github.com/jenkinsci/build-failure-analyzer-plugin/compare/ef95fae3d54c...3295e3e6a49e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Robert Sandell Path: src/main/java/com/sonyericsson/jenkins/plugins/bfa/db/MongoDBKnowledgeBase.java http://jenkins-ci.org/commit/build-failure-analyzer-plugin/3295e3e6a49e3616944509fcd9827c9bfa15bff9 Log: Merge pull request #38 from Jochen-A-Fuerbacher/hotfixEqualsInMongoDbKnowledgeBase JENKINS-30643 Hotfix for MongoDB statistics configuration. Compare: https://github.com/jenkinsci/build-failure-analyzer-plugin/compare/ef95fae3d54c...3295e3e6a49e
          Hide
          jochenafuerbacher Jochen A. Fürbacher added a comment -

          Fixed in new release.

          Show
          jochenafuerbacher Jochen A. Fürbacher added a comment - Fixed in new release.

            People

            Assignee:
            t_westling Tomas Westling
            Reporter:
            jochenafuerbacher Jochen A. Fürbacher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: