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

Sonar cube coverage report files #764

Open
mathPi opened this issue Dec 21, 2020 · 0 comments
Open

Sonar cube coverage report files #764

mathPi opened this issue Dec 21, 2020 · 0 comments

Comments

@mathPi
Copy link

mathPi commented Dec 21, 2020

Hi,
I had an issue when using the sonar plugin with pybuilder 0.12. The coverage report is not visible in sonarcube.

I looked at it and found that:

  • The sonarcube plugin have the property sonar.python.coverage.reportPath to "target/reports/coverage*.xml".
  • But the coverage plugin generates reports with outfile=project.expand_path("$dir_reports", "%s_coverage.xml" % execution_name)).

I propose to change the sonarcube plugin with "target/reports/*_coverage.xml". I can make a PR with this change.

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

1 participant