Jacoco: fix no coverage result in server and some other modules#6730
Jacoco: fix no coverage result in server and some other modules#6730yadvr merged 1 commit intoapache:4.17from
Conversation
According to https://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html we need to add "@{argLine}" to argLine if it exists in pom.xml
|
Kudos, SonarCloud Quality Gate passed!
|
yadvr
left a comment
There was a problem hiding this comment.
Thanks for finding @weizhouapache, I think I had removed this on root pom.xml due to some historic reason (I forgot)
|
@weizhouapache maybe worth checking local jacoco? I don't see any difference reported by sonarbot (not sure why codecov didn't kick in) |
@rohityadavcloud the following page shows coverage result of changes on java files in |
Codecov Report
@@ Coverage Diff @@
## 4.17 #6730 +/- ##
============================================
+ Coverage 5.88% 10.34% +4.45%
- Complexity 3927 6609 +2682
============================================
Files 2451 2451
Lines 242338 242338
Branches 37923 37923
============================================
+ Hits 14261 25060 +10799
+ Misses 226502 214192 -12310
- Partials 1575 3086 +1511
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
w00t @weizhouapache good find, and well done. I suspect, adding argLine on |








According to https://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html
we need to add "@{argLine}" to argLine if it exists in pom.xml
Description
This PR fixes missing jacoco coverage report in some modules
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?