Introduction
This plugin allows you to publish NUnit test results.
Pipeline example
For more information refer to NUnit Pipeline Steps
For Scripted pipeline
node {
...
stage("Publish NUnit Test Report") {
nunit testResultsPattern: 'TestResult.xml'
}
...
}
For Declarative pipeline
pipeline {
agent any
...
stages {
...
stage("Publish NUnit Test Report") {
steps {
nunit testResultsPattern: 'TestResult.xml'
}
}
...
}
}