How do I trigger a failure in azure pipelines when a bicep template build fails?
I using a bicep template deployment in Azure pipelines and I need to retreive the output from the build for subsequent tasks. Unfortunately, when I pass the output to the variable and the build fails, then it’s not triggering a failure for the whole task.