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

TestResult file with no test results causes "Could not read the XSL XML file."

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: nunit-plugin
    • Labels:
    • Environment:
      Win7/10 x64, nunit 0.2, Jenkins 2.60, nunit3 3.6.1.0
    • Similar Issues:

      Description

      How to reproduce from pipeline:

      pipeline {
      agent none
      stages{
      stage('Build') {
      agent { label "Test" }
      steps {
      nunit failIfNoResults: true, testResultsPattern: '*.xml'
      } // steps
      } // stage
      } // stages
      } // pipeline

       

      Drop attached TestResult.xml into %workspace% directory.

      Current output: ERROR: Could not read the XSL XML file. Please report this issue to the plugin author

      Expected output: File TestResult.xml has no test inside.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                slide_o_mix Alex Earl
                Reporter:
                eneda David eneda
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: