Scan C++ and C at once

Hi, i have sonarqube 9.9 and i would like to scan a project of C++ and C.

I tried try to check in the community about a solution, and im not realy sure that im understand the flow of scannin two lnguages in a one project.
I would like to scan a project include C++ and C at one scann and see the solution in one project which i created alredy in sonar dasboard.
I’m using Jenkins for scanning the repo, try to prevent from running sonar scan twice.
and i also understand that the plugin cfamily can scan both C++ and C.
saying taht cause same Quality Profile can have same rules for C++ and C rules.
Do i have to create Quality profile for each Project and than what? like to merge both Quality profiles and than to do only one scan or separate to two different projects?

Regards,
Chen

Hi Chen,

Analysis automatically covers all recognized languages, so both your C and C++ will be analyzed at the same time. The docs should get you started.

 
HTH,
Ann

Thanks Ann! (my honor to get an answer from you :pray: , will do.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.