This seems so trivial, I am almost shy to ask... Depending on certain conditions, which I am able to check by looking at Bamboo variables, I sometimes want to just stop the execution of a build and/or it's deploy. The possibility to conditionally execute steps seems very limited in Bamboo, and I am having trouble solving this. I found a workaround, which is running a script that exits with an error, like a powershell script simple as this
But that obviously causes the build to appear as failed, which really isn't what I want. I just want to prevent a deploy in certain conditions.
Does anyone know an elegant way to accomplish a full stop in a Bamboo plan?