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

Xunit don't recognize cppunit report with time execution

    XMLWordPrintable

    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

            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: