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

Xunit don't recognize cppunit report with time execution

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Ubuntu Desktop 12.04 64 bits with Jenkins 1.466 with tomcat7 (from ubuntu package)
      cppunit -1.12.1-4 (from ubuntu package)
    • Similar Issues:

      Description

      Hi,

      Since I have added the clocker plugin to my cppunit code(It is a cppunit plugin which permit to have the time execution, available into the samples of the cppunit archive), xunit don't reconize the format of the cppunit report.

      In fact, jenkins says that :
      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing CppUnit-1.12.1 (default)
      [xUnit] [INFO] - [CppUnit-1.12.1 (default)] - 1 test report file(s) were found with the pattern 'report/cppunit-report.xml' relative to '/home/nicolas/jenkins/workspace/ProjectA' for the testing framework 'CppUnit-1.12.1 (default)'.

      [xUnit] [ERROR] - The result file '/home/nicolas/jenkins/workspace/ProjectA/report/cppunit-report.xml' for the metric 'CppUnit' is not valid. The result file has been skipped.
      [xUnit] [INFO] - Setting the build status to FAILURE
      [xUnit] [INFO] - Stopping recording.
      Build step 'Publish xUnit test result report' changed build result to FAILURE

        Attachments

        1. cppunit-report.xml
          2 kB
        2. input.xsl
          9 kB
        3. input.xsl
          9 kB

          Activity

          koni29 Nicolas JAN created issue -
          gbois Gregory Boissinot made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          koni29 Nicolas JAN made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          gbois Gregory Boissinot made changes -
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          Priority Major [ 3 ] Minor [ 4 ]
          sbernaud sbernaud made changes -
          Attachment input.xsl [ 23435 ]
          sbernaud sbernaud made changes -
          Attachment input.xsl [ 23436 ]
          gbois Gregory Boissinot made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144435 ] JNJira + In-Review [ 191089 ]

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              koni29 Nicolas JAN
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: