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

xunit plugin does not work with XML produced by QTestlib

    Details

    • Similar Issues:

      Description

      xUnit plugin does not work with XML produced by QTestlib, using the xunitxml parameter.

      The error:
      "The converted file for the result file '/Users/Shared/Jenkins/Home/jobs/project/workspace/xtestresults.xml' (during conversion process for the metric 'QTestlib') is not valid."

      I tried to find the corresponding XSL in the usercontent directrory but could not find it.

      Using version 1.88 of the xUnit Plugin

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment - - edited

          QTtestLib XSL file can be overridden in the user content directory.
          However, the file is located in the plugin.
          You can find it here
          https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/qtestlib-to-junit-5.xsl

          Feel free to try to fix the xsl file.

          In addition, please upload your QTtest result file.

          Show
          gbois Gregory Boissinot added a comment - - edited QTtestLib XSL file can be overridden in the user content directory. However, the file is located in the plugin. You can find it here https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/qtestlib-to-junit-5.xsl Feel free to try to fix the xsl file. In addition, please upload your QTtest result file.
          Hide
          heiko_nardmann Heiko Nardmann added a comment -

          Feel free to try my branch with a changed XSLT stylesheet:

          https://github.com/HeikoNardmann/xunit-plugin/

          Show
          heiko_nardmann Heiko Nardmann added a comment - Feel free to try my branch with a changed XSLT stylesheet: https://github.com/HeikoNardmann/xunit-plugin/
          Hide
          nfalco Nikolas Falco added a comment -

          Please post the original report file.

          Show
          nfalco Nikolas Falco added a comment - Please post the original report file.

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              mikemelga Mike Melga
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: