diff --git a/appveyor/scripts/tests/lintCheck.ps1 b/appveyor/scripts/tests/lintCheck.ps1 index 7f394452430..6aabc39c4fc 100644 --- a/appveyor/scripts/tests/lintCheck.ps1 +++ b/appveyor/scripts/tests/lintCheck.ps1 @@ -2,10 +2,11 @@ $lintOutput = (Resolve-Path .\testOutput\lint\) .\runlint.bat "$lintOutput" if ($LastExitCode -ne 0) { Set-AppveyorBuildVariable "testFailExitCode" $LastExitCode - Add-AppveyorMessage "FAIL: Lint check. See test results for more information." + Add-AppveyorMessage "FAIL: Lint check. See test results and lint artifacts for more information." } else { Add-AppveyorMessage "PASS: Lint check." } -Push-AppveyorArtifact $lintOutput +Push-AppveyorArtifact "$lintOutput/PR-lint.xml" +Push-AppveyorArtifact "$lintOutput/lint-diff.diff" $wc = New-Object 'System.Net.WebClient' -$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", $lintOutput) +$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", "$lintOutput/PR-lint.xml")