mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use full paths for JUnit XML files
This commit is contained in:
@@ -71,6 +71,7 @@ on_finish:
|
||||
$endpoint = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
|
||||
Write-Output "Searching for JUnit XML output beneath $($env:TEST_JUNIT_XML_ROOT)"
|
||||
Get-ChildItem -Path $env:TEST_JUNIT_XML_ROOT -Recurse -File -Name -Include "*.xml" | ForEach-Object {
|
||||
Write-Output "Uploading JUnit XML $($_)"
|
||||
$wc.UploadFile($endpoint, $_)
|
||||
$full = "$($env:TEST_JUNIT_XML_ROOT)\$($_)"
|
||||
Write-Output "Uploading JUnit XML file $($full)"
|
||||
$wc.UploadFile($endpoint, $full)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user