Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Sonar Version: 9.4.0.54424
Scanner: latest version of docker CLI
Plugins:
checkstyle,10.2
groovy,1.8
auth-oidc,2.1.1
findbugs,4.1.6
sonarqube-community-branch,1.12.0 - how is SonarQube deployed: zip, Docker, Helm
Zip file in docker container - what are you trying to achieve
The PR analysis should show the coverage for the project. - what have you tried so far to achieve this
Verified through debug logs that coverage file is identified by the sonar scanner-cli and sent for analsis and the Analysis completes successfully.
But coverage information is not shown for the PR in sonar UI
The log has a warning
Node.js version 18 is not recommended, you might experience issues. Please use a recommended version of Node.js [14, 16]
Tried downgrading to 14, and 16 did not help.
Logs from scanner:
07:39:05.124 DEBUG: Using 'coverage/lcov.info' to resolve LCOV files
07:39:05.124 INFO: Analysing [/workspace/api-composition-pipeline_PR-1169/coverage/lcov.info]
07:39:05.160 INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=36ms
....
....
07:39:05.502 INFO: Analysis report generated in /workspace/api-composition-pipeline_PR-1169/.scannerwork/scanner-report
07:39:05.502 DEBUG: Upload report
07:39:05.544 DEBUG: POST 200 https://xxxxxx/api/ce/submit?projectKey=appmarket-api-composition&projectName=appmarket-api-composition&characteristic=pullRequest%3D1169 | time=41ms
07:39:05.546 INFO: Analysis report uploaded in 44ms
07:39:05.547 DEBUG: Report metadata written to /workspace/api-composition-pipeline_PR-1169/.scannerwork/report-task.txt
07:39:05.547 INFO: ANALYSIS SUCCESSFUL, you can find the results at: xxxxx
Do not share screenshots of logs β share the text itself (bonus points for being well-formatted)!