Declare another Quality profil in an Application

q_profiles

(Co) #1

Must-share information:

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube Version 6.7.4
  • what are you trying to achieve
    I’m a beginner on SonarQube. I need some help about several Subjects as:
    I have two Profils in SonarQube as SonarWay and another profil CMA. I want use the CMA profil by default but I don’t know how to do this. I have Scan sources to discover an application and I want modify the Profil about this application. Can you help me to declare the CMA Quality Profil for an Application Project.

Thanks for your help

If you need more informations don’t hesitate to ask question.


(Nicolas Bontoux) #2

Hi,

Well first all welcome in the SonarQube ecosystem ! The SonarQube documentation is a good place to start, in order to get familiar with the various concepts and project configuration. Did you give it a look ? You’ll find pages dedicated to the main aspects, notably (to your query) Quality Profiles.


(Co) #3

Hi Nicolas,
Thanks for your Quick reply I have already seen but I don’t understand :frowning: Can you Help me please ?
I Read this Guide: https://docs.sonarqube.org/display/SONAR/Quality+Profiles but I don’t understand how to do this.

In the Post there is: One profile for each language is marked the default. Barring any other intervention, all projects that use that language will be analyzed with that profile. To have a project analyzed by a non-default profile instead, start from Quality Profiles, and click through on your target profile, then use the Projects part of the interface to manage which projects are explicitly assigned to the profile.


(G Ann Campbell) #4

Hi,

Do you see the gear menu on your profiles?

If not, you’ll need to talk to someone who has permissions (global admin) to see it.

If so, have you checked what’s available there?

Ann


(Co) #5

Hi Ann,

Thanks for the Quick Reply, but After Check I don’t have the gear Menu:


(Co) #6

I have Checked the Right on Sonar and I have it


(G Ann Campbell) #7

Okay, it’s not clear what version of SonarQube you’re on. You do have a menu. Perhaps you should explore its contents. :slight_smile:

Ann


(Co) #8

Good Morning Ann,

It’s ok now I have found how to do create a new Quality Profil. Thanks for your Help
For information: