diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e8623b5717..355c491cbd 100644 --- 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