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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor
    • Component/s: nunit-plugin
    • Environment:
      Win7/10 x64, nunit 0.2, Jenkins 2.60, nunit3 3.6.1.0

      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.

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

              Created:
              Updated:
              Resolved: