From 0a0e5e9cea0635995e93991679d263ef7cee4045 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Mon, 31 Jul 2017 11:46:09 -0400 Subject: [PATCH] Still trying to get that Get-ChildItem call right --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 0d5487996..70cbec4a2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -44,7 +44,8 @@ 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 -File -Name -Include *.xml | ForEach-Object { + 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, $_) }