mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Set ROOT instead of PATH
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user