diff --git a/appveyor.yml b/appveyor.yml index eedc58e29..0d5487996 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -44,7 +44,7 @@ after_test: - ps: | $wc = New-Object 'System.Net.WebClient' $endpoint = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)" - Get-ChildItem -Path $env:TEST_JUNIT_XML_ROOT -Recurse -Include *.xml | ForEach-Object { + Get-ChildItem -Path $env:TEST_JUNIT_XML_ROOT\* -Recurse -File -Name -Include *.xml | ForEach-Object { Write-Output "Uploading JUnit XML $($_)" $wc.UploadFile($endpoint, $_) }