Skip to content Skip to sidebar Skip to footer

Sonarqube: How To Apply Multiple Quality Profiles To One Project?

I would like to use SonarQube 6.3.1 to analyze the Java and Kotlin code of an Android project. Therefore, I installed the Android Lint plugin besides the preinstalled SonarJava aka

Solution 1:

You apply both profiles by creating a third profile that contains all the rules in each of your source profiles.

The easiest way to accomplish that is to

  1. Go to Quality Profiles and create a new profile
  2. Now in the list of profiles, click on the rule count for one of your source profiles. This takes you to the list of rules active in that profile
  3. Use the Bulk Change > Activate In... option to turn those rules on in your new profile
  4. Return to step 2 with the next source profile in your list.

Post a Comment for "Sonarqube: How To Apply Multiple Quality Profiles To One Project?"