jenkinsci / jenkinsci/github-pr-coverage-status-plugin
Implement support for custom location of jacoco-report file (Android support)
- Dominant language
- Java
- Stars
- 97
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
I have an android app for which I would like to have code coverage reports, unfortunately this doesn't work becuase jacoco-android-plugin generates report with different filename for every flavor it's running against, i.e. `{project}\build\reports\jacoco\jacocoTestDevDebugUnitTestReport\jacocoTestDevDebugUnitTestReport.xml`.
As far I see, current implementation is only looking for `**/jacoco.xml` and `**/jacocoTestReport.xml` https://github.com/jenkinsci/github-pr-coverage-status-plugin/blob/314f22813188008f0370ffd4da21930a41f8e660/src/main/java/com/github/terma/jenkins/githubprcoveragestatus/GetCoverageCallable.java#L55
https://github.com/jenkinsci/github-pr-coverage-status-plugin/blob/314f22813188008f0370ffd4da21930a41f8e660/src/main/java/com/github/terma/jenkins/githubprcoveragestatus/GetCoverageCallable.java#L56
As the result I see `0% (0.0%) vs master 0%` in my PRs.
We need a way to specify custom location of jacoco-report files
Contributor guide
Assessment
This issue has not been assessed yet.