Skip to content

IDE-325 Integrate SonarQube Analysis with Multi-Job Coverage#5188

Draft
harshsomankar123-tech wants to merge 22 commits intodevelopfrom
IDE-325-sonarqube-coverage-job-main
Draft

IDE-325 Integrate SonarQube Analysis with Multi-Job Coverage#5188
harshsomankar123-tech wants to merge 22 commits intodevelopfrom
IDE-325-sonarqube-coverage-job-main

Conversation

@harshsomankar123-tech
Copy link
Copy Markdown
Member

@harshsomankar123-tech harshsomankar123-tech commented Apr 4, 2026

Reference:
Jira Ticket: (https://catrobat.atlassian.net/browse/IDE-325)

Follow Up of : #5183

Description
This PR integrates SonarQube Cloud analysis into the Catroid CI workflow. It adds a dedicated analysis job that aggregates coverage data from both unit tests and instrumented tests (emulated tests).

Previously, SonarQube analysis was restricted for fork PRs due to secret access limitations. By moving this branch to the main repository, we can now verify the SonarCloud token setup and enable full code quality visibility.

Changes:

  • Configured the workflow to trigger SonarQube analysis upon pushes and pull requests to the develop branch.
  • Integrated Jacoco/Sonar plugins to track and upload coverage data.
  • Ensured the job properly identifies the project key and organization within the SonarQube environment.

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing unit tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Stick to the project’s gitflow workflow
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Post a message in the catroid-stage or catroid-ide Slack channel and ask for a code reviewer

@harshsomankar123-tech harshsomankar123-tech changed the title Ide 325 sonarqube coverage job main IDE-325 Integrate SonarQube Analysis with Multi-Job Coverage Apr 4, 2026
@harshsomankar123-tech harshsomankar123-tech marked this pull request as draft April 4, 2026 23:12
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 5, 2026

@harshsomankar123-tech harshsomankar123-tech added the WIP Work in progress label Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant