Set ROOT instead of PATH

This commit is contained in:
Ash Wilson
2019-02-06 14:23:54 -05:00
parent b118b91075
commit f42de37cbc
3 changed files with 9 additions and 9 deletions

View File

@@ -25,13 +25,13 @@ jobs:
CI: true
CI_PROVIDER: VSTS
ATOM_JASMINE_REPORTER: list
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)/junit
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)/junit
displayName: Run tests
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
- script: find "${TEST_JUNIT_XML_PATH}" || true
- script: find "${TEST_JUNIT_XML_ROOT}" || true
env:
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)
displayName: Dump test results
condition: succeededOrFailed()

View File

@@ -45,13 +45,13 @@ jobs:
CI: true
CI_PROVIDER: VSTS
ATOM_JASMINE_REPORTER: list
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)/junit
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)/junit
displayName: Run tests
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
- script: find "${TEST_JUNIT_XML_PATH}" || true
- script: find "${TEST_JUNIT_XML_ROOT}" || true
env:
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)
displayName: Dump test results
condition: succeededOrFailed()

View File

@@ -70,16 +70,16 @@ jobs:
CI: true
CI_PROVIDER: VSTS
ATOM_JASMINE_REPORTER: list
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)\junit
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)\junit
BUILD_ARCH: $(buildArch)
displayName: Run tests
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
- powershell: Get-ChildItem -Recurse $env:TEST_JUNIT_XML_PATH
- powershell: Get-ChildItem -Recurse $env:TEST_JUNIT_XML_ROOT
failOnStderr: false
ignoreLASTEXITCODE: true
env:
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)
displayName: Dump test results
- task: PublishTestResults@2