appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 65 forks source link

Why doesn't 'Add-AppveyorTest' return a handle which could be used by 'Update-AppveyorTest'? #1225

Open Paebbels opened 7 years ago

Paebbels commented 7 years ago

Currently I have to supply all parameters twice. At first to Add-AppveyorTest to create a test and second to Update-AppveyorTest to overwrite an existing test with a new status.

It would be nice if:

$test = Add-AppveyorTest -Name "dryrun test: Active-HDL run for PoC.arith.prng" -Framework "PoC" -FileName "PoC.arith.prng"
.\PoC.ps1 --dryrun asim PoC.arith.prng
Update-AppveyorTest -ID $test -Outcome Passed
FeodorFitsner commented 7 years ago

Well, that makes sense. Thanks for the suggestion!

Paebbels commented 7 years ago

Maybe you can add these IDs or objects to the other similar API commands as well. Thanks.