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
- duplicates
-
JENKINS-29290 Inaccurate failure message for case where XML file exists, but contains no results
-
- Resolved
-
Activity
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. |
Link |
This issue duplicates |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |