Change the build event status from a custom deployment script
Once in while a deployment get stuck, I would like to set the failed status so the notification would reflect a failed deployment.
What is the best way to change the event status? I see a
possible way by using Add-AppveyorTest and
Update-AppveyorTest in my script.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 18 Nov, 2015 03:51 AM
To fail the build you can call
$host.SetShouldExit(1)if it's PowerShell orexit 1if cmd.Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.