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

NUnit Plugin 0.20 - Could not read the XSL file.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi Alex, Erik,

      I am using this plugin for 2 years with my Unity (C#) projects. And it is working like a charm. Thanks for all the efforts you have done.

      With Unity 5.6, it is started to use NUnit3 and we are having some issues to transform nunit test results xml file to junit. Could you please have a look on this error?

      ERROR: Step ‘Publish NUnit test result report’ failed: Could not read the XSL XML file. Please report this issue to the plugin author

       

      I have attached the file  that is generated as Nunit test results, and the error that I got in the logs and also the temporary junit file that plugin generates before the exception.

      If you need any more information, or in case you are not suitable to fix the issue soon. I will be very appreciated if you can let me know.

      Thanks in advance,

      Hakan Saglam

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          The file you attached is not a valid NUnit3 output file. It is missing the <test-run></test-run> root element. See https://github.com/nunit/docs/wiki/Test-Result-XML-Format#test-run

          Show
          slide_o_mix Alex Earl added a comment - The file you attached is not a valid NUnit3 output file. It is missing the <test-run></test-run> root element. See  https://github.com/nunit/docs/wiki/Test-Result-XML-Format#test-run
          Hide
          hakansaglam Hakan Saglam added a comment -

          Thank you Alex, for the quick reply, I will contact with Unity guys about this.

          BTW, when I try adding <test-run></test-run> manually, it worked.

          Show
          hakansaglam Hakan Saglam added a comment - Thank you Alex, for the quick reply, I will contact with Unity guys about this. BTW, when I try adding  <test-run></test-run> manually, it worked.
          Hide
          dsystems DSystems added a comment -

          Hi Hakan,

          Would you be able to provide the Unity issue number once you have contacted them please?

          Thanks,

          Mark

          Show
          dsystems DSystems added a comment - Hi Hakan, Would you be able to provide the Unity issue number once you have contacted them please? Thanks, Mark
          Hide
          hakansaglam Hakan Saglam added a comment -

          Unfortunately they didn't provide an issue number or a fix plan. I just add required elements manually after Unity runs the tests.

          Show
          hakansaglam Hakan Saglam added a comment - Unfortunately they didn't provide an issue number or a fix plan. I just add required elements manually after Unity runs the tests.

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            hakansaglam Hakan Saglam
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: