Skip to content

Add SonarQube generic-test-data format support for code coverage report. #1595

@sharbuz

Description

@sharbuz

Currently, code coverage reports are analyzed in the Jenkins Cobertura plugin.
Jenkins will be decommissioned soon and it was decided to use Elastic SonarQube for code coverage report analysis.
Elastic SonarQube can't analyze the reports made by the elastic-package tool because the SonarQube Java Cobertura coverage reports haven't been supported and it requires using generic-test-data format.
The elastic-package tool has to be updated to support the new format of the reports.
After Jenkins decommissions the support of the Java Cobertura coverage reports should be decommissioned.

Pipelines from integrations repository should be updated to enable these coverage reports too.

Example from integrations repository:
elastic/integrations#3671 (comment)

Current docs about coverage: https://github.com/elastic/integrations/blob/6c808f49d404ac9f29451297a3a991e6026e7fe0/docs/testing_and_validation.md#review-test-coverage

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions