The Karma test runner creates the coverage folder containing the lcov.info file before starting the Sonar Scanner. I have mentioned
would it be possible to share with us the verbose logs of the end step?
SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step, and please attach the output of the
SonarJS ver 22.214.171.12478 plugin is being used in SonarQube ver 7.9.4
I am getting the following errors related to SonarJS:
‘SonarJS’ skipped because there is no related file in current project
‘ESLint-based SonarJS’ skipped because there is no related file in current project
‘SonarJS Coverage’ skipped because there is no related file in current project
Please let me know why these SonarJS errors are shown.
As Costin already mentioned we cannot triage the issue any further without the logs.
Could you please forward the verbose logs to us?
All the best,