-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sonar.cxx.jsonCompilationDatabase not working #2700
Comments
Hi @loomdoom, sorry for the delayed answer. Looking into your scaner.log:
There is no match for sonar-cxx/sonar-cxx-plugin/src/main/java/org/sonar/plugins/cxx/CxxSquidSensor.java Line 410 in 3980334
As in all reports the hints here are valid: Regards, |
Describe the bug
Trying to run analysis using compile_commands.json. Tested with testdata from:
https://github.com/SonarOpenCommunity/sonar-cxx/integration-tests/testdata/json_db_project/
To Reproduce
Steps to reproduce the behavior:
docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:9.9.6-community
sudo docker cp sonar-cxx-plugin-2.1.1.488.jar sonarqube:/opt/sonarqube/extensions/plugins/sonar-cxx-plugin-2.1.1.488.jar
and:
Expected behavior
expect to analyze files specified in compile_commands.json
Desktop :
sonar-project.properties - just modified to run with docker
scaner.log
The text was updated successfully, but these errors were encountered: