I am looking for a way to fail a Jenkins build for a custom branch if there are any blockers on that branch.
Hi,
Welcome to the community!
What you want to do is create a Quality Gate condition on Blockers > 0.
HTH,
Ann
Hello, I am aware of how to create a quality gate. I am using Jenkins pipelines and would like to know how to fail a build based on the Quality Gate.
Thanks,
Geter