Using TFS 2018. I have setup a build pipeline that builds my solution and executes all unit tests. I want to add a step on the end that queries a table in SQL Server and returns back a boolean value, if false, I would like to fail the pipeline and return an error.
I have seen many extensions that allow me to execute a script, but none that return data I can use to perform an action.
Is this possible?