I can’t seem to get an powershell script step to stop the deployment. At first I thought it was because we were throwing an exception, and not exiting with 1. So I updated the script to write out the message, and exit 1, but this still doesn’t work:
Write-Host “Verification failed - could not get appropriate response within timeout period.”
I updated the process and re-created the release, I see the written message but the exit does not appear to work because it still considers the step as successful, hence the green outline:
Does anyone have any idea what I am missing?