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

    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

            eneda David eneda created issue -
            eneda David eneda made changes -
            Field Original Value New Value
            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.
            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 made changes -
            Link This issue duplicates JENKINS-29290 [ JENKINS-29290 ]
            slide_o_mix Alex Earl made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]

              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: