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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • nunit-plugin
    • 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.

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

              Created:
              Updated:
              Resolved: