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

Show results even when some XML test result files cannot be parsed

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Windows XP
      Hudson 1.374
      xunit 1.7
      boost test 1.39

      Description

      Currently when a boost test xml file cannot be parsed it results in none of the test results being visible and the build failing. This hides potentially useful information from successfully parsed xml files. I suggest that xml files that cannot be parsed should be skipped, and results generated for the successfully parsed xml files, but that the build is either marked as failed or unstable to highlight that not all test results were included.

        Activity

        rioch rioch created issue -
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : gbois
        Path:
        trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/XUnitPublisher.java
        trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/transformer/XUnitToolInfo.java
        trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/transformer/XUnitTransformer.java
        http://jenkins-ci.org/commit/34235
        Log:
        Fixed JENKINS-7336

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : gbois Path: trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/XUnitPublisher.java trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/transformer/XUnitToolInfo.java trunk/hudson/plugins/xunit/src/main/java/com/thalesgroup/hudson/plugins/xunit/transformer/XUnitTransformer.java http://jenkins-ci.org/commit/34235 Log: Fixed JENKINS-7336
        gbois Gregory Boissinot made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        mcrooney mcrooney added a comment -

        So what is the result of this, will the build still fail as it has before and not just be unstable? I think there was a specific bug report filed so that it does fail, so I just want to make sure we can upgrade without silently ignoring files.

        Show
        mcrooney mcrooney added a comment - So what is the result of this, will the build still fail as it has before and not just be unstable? I think there was a specific bug report filed so that it does fail, so I just want to make sure we can upgrade without silently ignoring files.

          People

          • Assignee:
            gbois Gregory Boissinot
            Reporter:
            rioch rioch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: