Must-share information (formatted with Markdown):
-
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
-
Community Edition
-
Version 9.4 (build 54424)
-
what are you trying to achieve
We are using Cobertura to generate the coverage and we have the coverage.xml file for the javascript files -
what have you tried so far to achieve this
It says resource not found, but path showing has the file
Below is the command I have executed :
sonar-scanner -Dsonar.projectKey=TestProject -Dsonar.sources=. -Dsonar.host.url=http://localhost:9000 -Dsonar.login=c38e98a5d12bdd8c7d2be49e55f4c2bb6a8e2d13
Sonar-project.properties:
sonar.host.url=http://localhost:9000/
sonar.projectKey=TestProject
sonar.projectName=Test Project
sonar.exclusions=**/*.md,**/node_modules/**
sonar.projectBaseDir=.
**sonar.flex.cobertura.reportPaths=target/jscoverage/coverage.xml**
Logs:
INFO: Analyzing Cobertura report: target/jscoverage/coverage.xml
WARN: Cannot save coverage result for file: /assert.js, because resource not found.
Could you please help here