I am using SonarQube 7.3 enterprise to run scans to a C++ project, using the Sonar-Scanner.
I’ve configured the sonar-project.properties like this:
sonar.projectKey=myCPPProject sonar.projectName=CPP Project sonar.projectVersion=1.1 sonar.sources=.
After that I run the scan like this: Sonar-Scanner
i noticed that I get some warning in my command line:
WARN: SCM provider autodetection failed. No SCM provider claims to support this project. Please use sonar.scm.provider to define SCM of your project.
INFO: No SCM system was detected. You can use the ‘sonar.scm.provider’ property to explicitly specify it.
INFO: Calculating CPD for 1 file
INFO: CPD calculation finished
INFO: Analysis report generated in 446ms, dir size=102 KB
INFO: Analysis reports compressed in 59ms, zip size=26 KB
INFO: Analysis report uploaded in 68ms
After this I go to my SonarQube instance and I can see my project but I have 0 bugs, 0 vulnerabilitiesm 0 code smell, 0% covarage, 0% duplications…
Something is not as it should be… Can you tell me what am I doing wrong?