Hi,
I am working with SonarQube community edition 9.9.1 with CXX plugin.
I am calling sonar-scanner-cli from a gitlab job.
Quality Gate passes, but I do not get any C++ related issues.
In the logs a DEBUG message says, this step was skipped.
07:36:15.651 INFO: QUALITY GATE STATUS: PASSED - View details on ....
07:36:15.775 DEBUG: 'GitLab Commit Issue Publisher' skipped because one of the required properties is missing
Could anybody help me?
Thx
Zoltan
ps. I am calling sonar-scanner with this command:
- sonar-scanner -X
-Dsonar.verbose=true
-Dsonar.login=$LOGIN_SONAR
-Dsonar.qualitygate.wait=true
-Dsonar.analysis.mode=publish
-Dsonar.host.url=https://sonarqube2.devops.telekom.de
-Dsonar.projectKey="$SONAR_PROJECT_KEY"
-Dsonar.projectVersion="$PP_INTERMED_TAG"
-Dsonar.sources=src
-Dsonar.projectName="PegaPlan"
-Dsonar.sourceEncoding="UTF-8"
-Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA
-Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
-Dsonar.gitlab.project_id=$CI_PROJECT_ID
-Dsonar.gitlab.unique_issue_per_inline=true
-Dsonar.gitlab.user_token=$SONAR_TOKEN
-Dsonar.language="CXX"
-Dsonar.cxx.jsonCompilationDatabase="$CI_PROJECT_DIR/build/compile_commands.json"
-Dsonar.cxx.jsonCompilationDatabase.analyzeOnlyContainedFiles=true
-Dsonar.cxx.file.suffixes=.h,.cpp,.hpp,.c