PowerShell / DscConfiguration.Tests

Test automation scripts for evaluating the quality of DSC Configurations using Azure virtual machines and Azure Automation DSC.
MIT License
5 stars 11 forks source link

Use Push-AppveyorArtifact to upload test results to AppVeyor #19

Closed PlagueHO closed 7 years ago

PlagueHO commented 7 years ago

Is it possible to use the Push-AppVeyorArtifact cmdlet (available in AppVeyor) to publish the results of testing artifacts instead of the WebClient with a URL specified in the AppVeyor.yml?

This would slightly simplify the code and eliminate the need for the TestResultsUploadURI in the AppVeyor.yml file in each DSC Configuration repo.

The only reason to keep this as WebClient upload would be to allow uploading from outside AppVeyor or to another destination, but I don't know if this was a requirement.

I can submit a PR with this change if acceptable.

PlagueHO commented 7 years ago

My bad! Ignore this - I see you're uploading the test results rather than the artifacts.

However, it may still be useful to push the artifacts as well which is what we do in the DSC Resource Kit. This can provide a bit more detail about any test failures.

PlagueHO commented 7 years ago

I'll raise some PR's for these changes.