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

ci: tell sonar where the jacoco root report is #2796

Merged
merged 1 commit into from Jan 6, 2024

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented Jan 5, 2024

The aggregated jacocoRootReport is not in one of the standard locations searched by sonar, add a property with the report file path so sonar can reflect the coverage

This should fix #2619

The aggregated jacocoRootReport is not in one of the standard locations
searched by sonar, add a property with the report file path so sonar can
reflect the coverage
@gtoison gtoison marked this pull request as ready for review January 5, 2024 21:19
@hazendaz hazendaz self-assigned this Jan 6, 2024
@hazendaz hazendaz merged commit 43e5485 into spotbugs:master Jan 6, 2024
9 checks passed
@hazendaz
Copy link
Member

hazendaz commented Jan 6, 2024

@gtoison Confirmed fixed! https://sonarcloud.io/component_measures?metric=coverage&id=com.github.spotbugs.spotbugs. Shows us at 64% now rather than 0%.

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

Successfully merging this pull request may close these issues.

Build: Fix jacoco reporting to sonar
2 participants