Quoting shenanigans maybe?

This commit is contained in:
Ash Wilson
2017-07-31 14:20:20 -04:00
parent 2574ca5736
commit 5eef79c904

View File

@@ -45,8 +45,8 @@ after_test:
$wc = New-Object 'System.Net.WebClient'
$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
Get-ChildItem -Path "$($env:TEST_JUNIT_XML_ROOT)\*" -Recurse -File -Name -Include "*.xml" | ForEach-Object {
Get-ChildItem -Path $env:TEST_JUNIT_XML_ROOT) -Recurse -File -Name
Get-ChildItem -Path $env:TEST_JUNIT_XML_ROOT) -Recurse -File -Name -Include "*.xml" | ForEach-Object {
Write-Output "Uploading JUnit XML $($_)"
$wc.UploadFile($endpoint, $_)
}