We are using Jenkins as our CI server, and Sonarqube for code analysis.
Currently we are using SonarQube 4.5.7 and we want to upgrade to version 6.5. We have several quality gates, and we can't find an automatic way to assign the quality gate to the project.
In previous version we used the sonar.QualityGate
property, but this property is now deprecated.
How can we let Jenkins setup the quality gate before it starts the analysis?