Fail SSH exec step when remote script excution fails
Hi,
Is there a way to change the status of build for SSH Exec runner.
echo ##teamcity[buildStatus status='FAILURE' text='script failed']
There was a post earlier about it - https://teamcity-support.jetbrains.com/hc/en-us/community/posts/206884825-Getting-the-build-to-fail
Please sign in to leave a comment.
Hi Munawar,
The script was initially developed as an external plugin, and this issue was presented, where the dev answered to it: https://github.com/JetBrains/teamcity-deployer-plugin/issues/57
Could you try if that works for you?