Quality Profiles

SonarQube Version 25.3 Community

I have created a custom quality profile to scan my java codes instead of using sonar way.

However I don’t want to make the custom quality profile I created the default one.

How can I through the cmd, when running sonar-scanner to specify the quality profile to use.

Hi,

You can’t assign the profile at analysis time. You’ll need to do this through the UI. As a profile admin, you can ‘pin’ projects to a non-default profile. Alternately, from the project side, you can choose a profile per language, which is the same pinning, just from the other side.

 
HTH,
Ann