From fdb87bf13232731356f8b776652ae47eb8688a9c Mon Sep 17 00:00:00 2001 From: Lucas Loegel Date: Sun, 24 Feb 2019 06:33:22 +0100 Subject: [PATCH] Publish test results when the tests fail (#1994) --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index eb691c27..0cc6f9e0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -47,12 +47,14 @@ steps: testRunner: 'NUnit' testResultsFiles: '**/Working/*.xml' displayName: 'Publish NUnit results' + condition: succeededOrFailed() - task: PublishTestResults@2 inputs: testRunner: 'VSTest' testResultsFiles: '**/Working/*.trx' displayName: 'Publish dotnet test results' + condition: succeededOrFailed() - task: PublishBuildArtifacts@1 inputs: