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