Added test result publishing.
Some checks failed
RealYHD/dotnetresxutils/pipeline/head There was a failure building this commit

This commit is contained in:
2022-12-04 09:03:21 +00:00
parent 2fdf476a85
commit 4bc5375bc7
2 changed files with 3 additions and 1 deletions

3
Jenkinsfile vendored
View File

@@ -11,7 +11,8 @@ pipeline {
}
stage("Test") {
steps {
sh "dotnet test --no-restore DotNetResxUtils.Tests"
sh "dotnet test --logger xunit --no-restore DotNetResxUtils.Tests"
xunit([xUnitDotNet(excludesPattern: '', pattern: '*.Tests/TestResults/*.xml', stopProcessingIfError: true)])
}
}
stage("Publish") {