For Sonarqube 7.0, I would want to understand how do I fail/reject a build when quality gate fails? I am referring to https://docs.sonarqube.org/7.0/AnalyzingSourceCode.html . I see that for earlier versions 5.x, seems like there was a plugin to break the builds, and for latter versions 8.x, there is a configuration for CI/CD. Can you please suggest on what is to be done for 7.0?
Thanks in advance!