Skip to content

Commit

Permalink
Use full paths for JUnit XML files
Browse files Browse the repository at this point in the history
  • Loading branch information
smashwilson committed Aug 1, 2017
1 parent 2ff3e65 commit 9ab9643
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 9ab9643

Please sign in to comment.