Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Cobertura coverage reports to SonarQube for typescript project #31

Open
Blessie7 opened this issue Sep 18, 2019 · 1 comment
Open

Comments

@Blessie7
Copy link

Hi,
I have been trying to publish cobertura coverage report for a typescript project to SonarQube. However, SonarQube is not picking up the cobertura report.
Below is the configuration I have used in sonar-project.js file.
'sonar.dynamicAnalysis' : 'reuseReports',
'sonar.cobertura.reportPath' : ''
SonarQube displays the coverage as 0.
If I configure lcov report path, it works fine.
Does sonar cobertura plugin support publishing cobertura coverage report for typescript project?

@galexandre
Copy link
Owner

Hi @Blessie7,

I am not a typescript specialist, however I will try to help you. As far as I can see you didn't specify a path of the report, so my question is where is your coverage file generated is located?

Regards,

galexandre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants