diff --git a/script/vsts/platforms/macos.yml b/script/vsts/platforms/macos.yml index cdc9328e3..b7d5ea1f8 100644 --- a/script/vsts/platforms/macos.yml +++ b/script/vsts/platforms/macos.yml @@ -49,7 +49,7 @@ jobs: displayName: Run tests condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true')) - - script: find "${TEST_JUNIT_XML_PATH}" + - script: find "${TEST_JUNIT_XML_PATH}" || true env: TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory) displayName: Dump test results diff --git a/script/vsts/platforms/windows.yml b/script/vsts/platforms/windows.yml index 07d53bae2..48d29420b 100644 --- a/script/vsts/platforms/windows.yml +++ b/script/vsts/platforms/windows.yml @@ -75,7 +75,9 @@ jobs: displayName: Run tests condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true')) - - powershell: Get-ChildItem -Recurse %TEST_JUNIT_XML_PATH% + - powershell: Get-ChildItem -Recurse $env:TEST_JUNIT_XML_PATH + failOnStderr: false + ignoreLASTEXITCODE: true env: TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory) displayName: Dump test results