title: how to fail the GoCD build based on the sonar quality gate?
body: <p>how to fail the GO build based on the sonar quality gate?</p>
  
  <p>I expect the stage to be failed when gateway fails. Is there any configurations that can be done to fail the build</p>
  
  <p><a href="https://i.stack.imgur.com/3ROLY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3ROLY.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/2Rln9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Rln9.png" alt="enter image description here"></a></p>