Coverage percentage is showed as 0 even after giving in the sonar scanner

Even after giving below parameter it is still showing 0% in the console

image

sonar.ruby.coverage.reportPaths=coverage/.resultset.json

Hi,

Can you share your 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.

This guide will help you find them.

 
Ann

We are having a similar issue. But switching to the coverage.json file instead of .resultset.json solved it for us. Was there some change on sonarcloud to no longer be compatible with the previous file?

Hi @mkon,

Welcome to the community!

I’m not aware of a drop of support. Can you create a new thread for the question, please?

 
Thx,
Ann