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

XUnit does not store threshold mode in config.xml

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Setting threshold mode in xunit plugin to "Use a percent of tests" works only for a while.
      After some time (24h) the setting is set to "Use a number of tests" (first from top).
      I have noticed that this setting is not stored in config.xml and probably that is root cause of such behaviour.

        Attachments

          Issue Links

            Activity

            Hide
            gbois Gregory Boissinot added a comment -

            I can't reproduce your problem.
            I think it is a configuration error because all seem to be OK.
            Could you check and isolate the problem.
            Do not hesitate to reopen the issue if the problem persists.
            Thanks

            Show
            gbois Gregory Boissinot added a comment - I can't reproduce your problem. I think it is a configuration error because all seem to be OK. Could you check and isolate the problem. Do not hesitate to reopen the issue if the problem persists. Thanks
            Hide
            gruszkow Marek Gruszkowski added a comment -

            to reproduce the problem:

            1. Set the threshold mode to "Use percentage of tests" in some job
            2. Apply settings
            3. Restart jenkins
            4. Go to the job's configuration to check that the setting is lost

            Show
            gruszkow Marek Gruszkowski added a comment - to reproduce the problem: 1. Set the threshold mode to "Use percentage of tests" in some job 2. Apply settings 3. Restart jenkins 4. Go to the job's configuration to check that the setting is lost
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Gregory Boissinot
            Path:
            src/main/java/com/thalesgroup/hudson/plugins/xunit/XUnitPublisher.java
            src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java
            src/main/java/org/jenkinsci/plugins/xunit/threshold/XUnitThreshold.java
            src/main/java/org/jenkinsci/plugins/xunit/types/JUnitInputMetric.java
            src/main/resources/org/jenkinsci/plugins/xunit/XUnitPublisher/config.jelly
            http://jenkins-ci.org/commit/xunit-plugin/4f2ab0fb82a567904906e306bc22497ac1cf793d
            Log:
            Fix JENKINS-14517

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/com/thalesgroup/hudson/plugins/xunit/XUnitPublisher.java src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java src/main/java/org/jenkinsci/plugins/xunit/threshold/XUnitThreshold.java src/main/java/org/jenkinsci/plugins/xunit/types/JUnitInputMetric.java src/main/resources/org/jenkinsci/plugins/xunit/XUnitPublisher/config.jelly http://jenkins-ci.org/commit/xunit-plugin/4f2ab0fb82a567904906e306bc22497ac1cf793d Log: Fix JENKINS-14517

              People

              • Assignee:
                ozan Ozan Turgut
                Reporter:
                gruszkow Marek Gruszkowski
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: