Sonarqube Sqale Rating based on Quality Gate

391 views Asked by At

I am using Sonaqube 4.5.6 with Sqale plugin. On running analysis from Jenkins for Java and UI projects, Sonarqube gives me a Sqale rating. I have set quality gates for each profile with the below threshold.

 Blocker Issues > 0
 Critical Issues > 0
 Coverage > 60%

How do I modify Sqale to reflect the quality gate? If a project does not pass a quality gate, Squale rating should be less than A and red.

1

There are 1 answers

1
G. Ann - SonarSource Team On BEST ANSWER

Sorry, but that's just not how the SQALE rating works. That rating is based on the time estimated to remediate your code versus the estimated time to write it into its current state.

SQALE model's simply not about calling attention to the worst offenders.