# Jacoco coverage reports are not picked by CodeCov

**URL:** <https://community.codecov.com/t/jacoco-coverage-reports-are-not-picked-by-codecov/73>\
**Category:** Support\
**Created:** [March 27, 2019, 6:59am UTC](https://community.codecov.com/t/jacoco-coverage-reports-are-not-picked-by-codecov/73 "2019-03-27T06:59:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohanvive](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mohanvive/32/33_2.png) [@mohanvive](https://community.codecov.com/u/mohanvive)\
**Post date:** [March 27, 2019, 6:59am UTC](https://community.codecov.com/t/jacoco-coverage-reports-are-not-picked-by-codecov/73/1 "2019-03-27T06:59:55Z")

</div>

### Description

Team, we have integrated CodeCov to Siddhi open source project [1] recently. But, we observed that component level coverage reports are not picking by CodeCov.  
If you check the Travis logs (at the end) in [2] you could understand it cannot recognize the component level jacoco.xml files. Then ultimately, CodeCoc shows the coverage as 0% as per [3]

Am, I missing anything here?

[1] [GitHub - siddhi-io/siddhi: Stream Processing and Complex Event Processing Engine](http://github.com/wso2/siddhi)  
[2] [https://api.travis-ci.org/v3/job/511851216/log.txt](https://api.travis-ci.org/v3/job/511851216/log.txt) ([Add CodeCov badge to readme file and Jacoco config changes by mohanvive · Pull Request #1156 · siddhi-io/siddhi · GitHub](https://github.com/siddhi-io/siddhi/pull/1156))  
[3] [Codecov](https://codecov.io/gh/siddhi-io/siddhi)

### Repository

> **[Code coverage done right.](https://app.codecov.io/gh/siddhi-io/siddhi)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

---

<div class="post-metadata">

**Author:** ![jerrod](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jerrod/32/41_2.png) [@jerrod](https://community.codecov.com/u/jerrod)\
**Post date:** [April 5, 2019, 6:10pm UTC](https://community.codecov.com/t/jacoco-coverage-reports-are-not-picked-by-codecov/73/2 "2019-04-05T18:10:01Z")

</div>

Hey @mohanvive – sometimes can help to specify the file path with the “-f” command manually to get it picked up. Check out docs here:

> **[\[Deprecating\] Bash Uploader](https://docs.codecov.com/docs/about-the-codecov-bash-uploader)**
>
> With the Codecov Uploader released, the Bash Uploader is subject to deprecation in the future. You can refer back to this page to plans around deprecation of the Bash Uploader and/or see additional context around this release and change can be found...

---

<div class="post-metadata">

**Author:** ![nickpalmer](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/nickpalmer/32/53_2.png) [@nickpalmer](https://community.codecov.com/u/nickpalmer)\
**Post date:** [April 5, 2019, 8:04pm UTC](https://community.codecov.com/t/jacoco-coverage-reports-are-not-picked-by-codecov/73/3 "2019-04-05T20:04:00Z")

</div>

I just got this working on our repo recently.

If you read the source of the bash uploader script it is very particular about the report name. It is looking for the `jacoco*.xml` which is generated by running the jacoco report generation, not just generating the \*.ec or \*.exec file.

[Codecov.io](http://Codecov.io) does not process the .ec or .exec files generated by jacoco directly, so make sure your build step is generating the `jacoco*.xml` file correctly. This isn’t clear from the [Codecov.io](http://Codecov.io) documentation. You need to run the additional target to convert the .ec or .exec file into an XML report.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [May 24, 2019, 6:27pm UTC](https://community.codecov.com/t/jacoco-coverage-reports-are-not-picked-by-codecov/73/4 "2019-05-24T18:27:04Z")

</div>

Closed on May 24, 2019, 6:27pm UTC



---

<div class="post-metadata">

**Author:** ![jerrod](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jerrod/32/41_2.png) [@jerrod](https://community.codecov.com/u/jerrod)\
**Post date:** [September 6, 2019, 6:54pm UTC](https://community.codecov.com/t/jacoco-coverage-reports-are-not-picked-by-codecov/73/5 "2019-09-06T18:54:48Z")

</div>

@nickpalmer giving you shoutout + thanks for the feedback on documentation. Starting a new section of our docs on supported vs. non-supported coverage formats: [Supported Coverage Report Formats](https://docs.codecov.io/docs/supported-report-formats)

Thank you!!!
