Hi
I am using sonarqube 9.9 LTS. And Using C++ (Community) V2.1.1
I have generated test report and code coverage report for C.
Below properties i am passing to read code coverage report.
C:\\apps\\sonar-scanner\\bin\\sonar-scanner.bat -X \
-Dsonar.host.url=http:\\amksx21063.amk.st.com:9000 \
-Dsonar.sources=%RELEASE_WORKSPACE%\\output\\precompiled\\ \
-Dsonar.projectVersion=%REPORT_VERSION% \
-Dsonar.projectName=%PROJECT_NAME% \
-Dsonar.projectKey=%PROJECT_KEY% \
-Dsonar.sourceEncoding=UTF-8 \
-Dsonar.projectBaseDir=%RELEASE_WORKSPACE%\\output\\precompiled\\ \
-Dsonar.cxx.cppcheck.reportPaths=%RELEASE_WORKSPACE%\\output\\cppcheck.xml \
-Dsonar.cxx.cobertura.reportPaths=%RELEASE_WORKSPACE%\output\UTCoverageReport.xml
-Dsonar.cxx.xunit.reportPaths=%RELEASE_WORKSPACE%\output\iFDmgr_UT-Results.xml
-Dsonar.cxx.valgrind.reportPaths=%RELEASE_WORKSPACE%\output\UTValgrindReport.xml
-Dsonar.cxx.gcc=“^(.):([0-9]+): warning: (.)\[(.*)\]$”
-Dsonar.cxx.vc=UTF-8
-Dsonar.cxx.compiler.reportPaths=%RELEASE_WORKSPACE%\output\make.log
-Dsonar.cxx.file.suffixes=.cxx,.cpp,.cc,.c,.hxx,.hpp,.hh,.h
-Dsonar.c.file.suffixes=-
-Dsonar.language=c
After sucessfully execution of sonar analysis getting 0% code coverage. Please help what to do.