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

NUnit Plugin 0.20 - ERROR: Step 'Publish NUnit test result report' failed: Could not read the XSL XML file.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • nunit-plugin
    • None
    • Jenkins 2.6.2

      Hi,

      We have been using the plugin for more than a year, and recently updated from 0.18 to 0.20.

      Since the upgrade, our build now fails and we get this error in the console log:

       

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

      In the jobs's publisher step, I have attempted to remove the Fail the build if no test results are present, flag, and the build still fails.

      The wording of the error is a bit fluffy, but I assume the text "could not read" means it could read the file but not parse it correctly?

      We were using the NUnit 2 file format, but I also tried to upgrade to the NUnit 3 format (both produced using nunit3-console.exe 3.5.0.0), and both fails with identical errors.

      I have attached failing examples from our tests

      If you need more info please let me know.

      Hope I'm overlooking something obvious.

        1. NUnitResult_v2.xml
          24 kB
        2. NUnitResult_v3.xml
          47 kB
        3. nunit.hpi
          20 kB

            slide_o_mix Alex Earl
            fsteff Flemming Steffensen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: