Skip to content

Setup SonarQube Code Coverage Analysis#158

Merged
tsande16 merged 17 commits intomainfrom
1089-setup-jacoco-sonarqube-integration
Mar 10, 2025
Merged

Setup SonarQube Code Coverage Analysis#158
tsande16 merged 17 commits intomainfrom
1089-setup-jacoco-sonarqube-integration

Conversation

@tsande16
Copy link
Copy Markdown
Contributor

@tsande16 tsande16 commented Mar 6, 2025

This PR introduces the SonarQube scanner to run on the ci.yml and snapshot.yml workflows and push the JaCoCo code coverage reports to SonarQube Cloud.

Notable changes:

  • Add SonarQube properties and plugin in the POM
  • Add the SonarQube scanner to the verify and deploy maven phase in the ci.yml and snapshot.yml.
  • Add a deep checkout of the git history on the GH checkout action.

To test run the ci.yml or snapshot.yml. These workflows will pass the SonarQube login secret to the ci.yml/snapshot.yml workflow in the main repo.

@tsande16 tsande16 removed this from Eclipse PASS Mar 6, 2025
@tsande16 tsande16 self-assigned this Mar 6, 2025
@tsande16 tsande16 linked an issue Mar 6, 2025 that may be closed by this pull request
@tsande16 tsande16 requested a review from rpoet-jh March 7, 2025 20:23
@tsande16 tsande16 merged commit d058241 into main Mar 10, 2025
3 checks passed
@tsande16 tsande16 deleted the 1089-setup-jacoco-sonarqube-integration branch March 10, 2025 19:18
@sonarqubecloud
Copy link
Copy Markdown

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.

Setup Code Coverage Reporting Service

2 participants