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

[8.17](backport #5773) Exclude the coverage files from the annotate step #6331

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 13, 2024

What does this PR do?

We noticed that the JUnit annotate step needed to take more time. This PR addresses that issue by not requiring it to parse the coverage files.

The generated coverage XML file was meant to be used in Jenkins to show the coverage report stats. The generated XML files were large, resulting in a problem with BK's JUnit annotate plugin.

Given that we don't operate any Jenkins instance, this PR removes the code that generated the XML coverage reports.
Now, coverage is reported only to Sonar.

Why is it important?

Reduce the time of CI step


This is an automatic backport of pull request #5773 done by [Mergify](https://mergify.com).

* Exclude the coverage files from the annotate step

Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
(cherry picked from commit 8ebaa7d)
@mergify mergify bot added the backport label Dec 13, 2024
@mergify mergify bot requested review from a team as code owners December 13, 2024 16:53
@mergify mergify bot requested review from michalpristas and swiatekm and removed request for a team December 13, 2024 16:53
Copy link
Contributor Author

mergify bot commented Dec 16, 2024

This pull request has not been merged yet. Could you please review and merge it @alexsapran? 🙏

2 similar comments
Copy link
Contributor Author

mergify bot commented Dec 23, 2024

This pull request has not been merged yet. Could you please review and merge it @alexsapran? 🙏

Copy link
Contributor Author

mergify bot commented Dec 30, 2024

This pull request has not been merged yet. Could you please review and merge it @alexsapran? 🙏

@jlind23 jlind23 enabled auto-merge (squash) December 30, 2024 14:01
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@jlind23 jlind23 merged commit cb857d8 into 8.17 Dec 30, 2024
14 checks passed
@jlind23 jlind23 deleted the mergify/bp/8.17/pr-5773 branch December 30, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants