mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
Azure doesn't like trailing whitespace
This commit is contained in:
@@ -69,7 +69,8 @@ function prepareEnv (suiteName) {
|
||||
// Tell Jasmine to output this suite's results as a JUnit XML file to a subdirectory of the root, so that a
|
||||
// CI system can interpret it.
|
||||
const runPrefix = process.env.TEST_JUNIT_XML_RUN || ''
|
||||
const outputPath = path.join(process.env.TEST_JUNIT_XML_ROOT, `${runPrefix}${suiteName}.xml`)
|
||||
const filePath = (runPrefix.length > 0 ? runPrefix + ' ' : '') + suiteName + '.xml'
|
||||
const outputPath = path.join(process.env.TEST_JUNIT_XML_ROOT, filePath)
|
||||
env.TEST_JUNIT_XML_PATH = outputPath
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
CI_PROVIDER: VSTS
|
||||
ATOM_JASMINE_REPORTER: list
|
||||
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)/junit
|
||||
TEST_JUNIT_XML_RUN: "Linux "
|
||||
TEST_JUNIT_XML_RUN: Linux
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
CI_PROVIDER: VSTS
|
||||
ATOM_JASMINE_REPORTER: list
|
||||
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)/junit
|
||||
TEST_JUNIT_XML_RUN: "MacOS "
|
||||
TEST_JUNIT_XML_RUN: MacOS
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
CI_PROVIDER: VSTS
|
||||
ATOM_JASMINE_REPORTER: list
|
||||
TEST_JUNIT_XML_ROOT: $(Common.TestResultsDirectory)\junit
|
||||
TEST_JUNIT_XML_RUN: "Windows $(buildArch) "
|
||||
TEST_JUNIT_XML_RUN: Windows $(buildArch)
|
||||
BUILD_ARCH: $(buildArch)
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
Reference in New Issue
Block a user