How can I set the build status of TeamCity from Powershell?
I am trying to set the build status of Team City from Powershell. I found how to do this from Windows cmd:
##teamcity[buildStatus status='FAILURE' text='A non-standard URL has been committed to SVN']
EXIT 1
It works great when running as a cmd; however, I need to do this in a Powershell script. Can someone point me in the right direction? I've tried this as-in Powershell, but the pound sign acts like a comment.
Thank.
+3
source to share
3 answers