commit 7e548cbbeb446fac1072ba6b464a65d048751461
parent c30ca051b3b4730bad2da49a483f2673cb1b9354
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date: Mon, 28 Feb 2022 14:25:54 -0800
Make build pipeline task fail on unit tests failure (#1975)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
@@ -163,7 +163,7 @@ jobs:
displayName: Publish Unit Test Results
inputs:
testResultsFormat: 'JUnit'
- testResultsFiles: '$(Build.ArtifactStagingDirectory)\TEST-*.xml'
+ testResultsFiles: '$(artifactsDir)\TEST-*.xml'
failTaskOnFailedTests: true
- task: DownloadSecureFile@1