which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension): Data center Edition v2025.1.2
how is SonarQube deployed: part of CI/CD
what are you trying to achieve:
I am using bazel as my build environment and I could see the coverage report getting generated. I am giving this lcov report to the sonarqube but the code coverage is still 0.0%.
I am using autoconfig c/c++ to run analysis. In the raw logs I could see a statement “Parsing /coverage.lcov”. But I dont see coverage getting posted.
Could you add -Dsonar.verbose=true to your analysis command line and provide the resulting analysis log?
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.