Publish test results when the tests fail (#1994)
This commit is contained in:
committed by
James Newton-King
parent
509643a895
commit
fdb87bf132
@@ -47,12 +47,14 @@ steps:
|
|||||||
testRunner: 'NUnit'
|
testRunner: 'NUnit'
|
||||||
testResultsFiles: '**/Working/*.xml'
|
testResultsFiles: '**/Working/*.xml'
|
||||||
displayName: 'Publish NUnit results'
|
displayName: 'Publish NUnit results'
|
||||||
|
condition: succeededOrFailed()
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
inputs:
|
inputs:
|
||||||
testRunner: 'VSTest'
|
testRunner: 'VSTest'
|
||||||
testResultsFiles: '**/Working/*.trx'
|
testResultsFiles: '**/Working/*.trx'
|
||||||
displayName: 'Publish dotnet test results'
|
displayName: 'Publish dotnet test results'
|
||||||
|
condition: succeededOrFailed()
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user