Added test result publishing.
Some checks failed
RealYHD/dotnetresxutils/pipeline/head There was a failure building this commit
Some checks failed
RealYHD/dotnetresxutils/pipeline/head There was a failure building this commit
This commit is contained in:
parent
2fdf476a85
commit
4bc5375bc7
@ -18,6 +18,7 @@
|
|||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
<PackageReference Include="XunitXml.TestLogger" Version="3.0.70" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -11,7 +11,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Test") {
|
stage("Test") {
|
||||||
steps {
|
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") {
|
stage("Publish") {
|
||||||
|
Loading…
Reference in New Issue
Block a user