Skip to content

Commit

Permalink
Make build pipeline task fail on unit tests failure (#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-msft authored Feb 28, 2022
1 parent c30ca05 commit 7e548cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e548cb

Please sign in to comment.