Sonar seems to be failing with 0% coverage

Here is the error below
This is a blocker for us at the moment. Could somebody let us know whats the issue? Thanks

1 Like

We faced a similar issue on our typescript project. The problem for us turns out to be this deprecation - Drop deprecated TypeScript properties: `sonar.typescript.lcov.reportPaths`, `sonar.typescript.node`, `sonar.typescript.

The fix was to change sonar.typescript.lcov.reportPaths=coverage/ to sonar.javascript.lcov.reportPaths=coverage/ in our sonarcloud project properties file.

Thanks @helfi92 But, is this a strategic change or temporary one

I think this is a permanent change. The docs have also been updated to suggest sonar.javascript.lcov.reportPaths=coverage/ for typescript projects.