Hi Anwar,

I believe that Jenkins plugin is dealing with data produced by JaCoCo that 
is declared in yours build scripts.

IntelliJ bundles particular version of JaCoCo, which is BTW 0.7.2 and not 
0.7.5 as you claim - proof: 
https://github.com/JetBrains/intellij-community/tree/master/plugins/coverage/lib

What to do to use same version in both cases? Obviously there is no options 
other than: either downgrade first, either upgrade second. I wouldn't 
recommend first one, because later versions are better, i.e. data in 
Jenkins should be better / more precise, but as stated earlier - watch your 
build scripts. For the second one - ask JetBrains developers that maintain 
this integration. Unfortunately there is nothing with which we can help you 
here - all this is not owned by us.

My personal opinion: what matters for code quality - is a focus on addition 
of missing tests for changed/added parts of code instead of focus on 
absolute value and match of values between tools. As long as usage of both 
of tools allows you to achieve this, it is acceptable to use different 
tools (even non-JaCoCo mode in IntelliJ) and have slight mismatch.

P.S. Please respect the fact that help here is provided to you for free by 
other people in their spare time on a best effort basis, i.e. be ready that 
when you start thread with word "urgent" - it will not get a quick answer 
purposely or even will be ignored. Especially that you are allowing 
yourself to not respond within months. Thank you for your understanding.

Regards,
Evgeny

On Tuesday, December 13, 2016 at 9:09:49 PM UTC+1, Anwar Haque wrote:
>
> Hi Marc, 
>
> Reports generated from Jenkins jacoco reports are different than generated 
> with local intelliJ idea 
>
> Are there any specific reason for this? How can we get this sorted? Any 
> live examples of partial coverage on IntelliJ w.r.t Jenkins jacoco am using 
> jacoco plugin 1.0.19 on Jenkins where as 0.7.5 on local IntelliJ 
>
> Please help will be really appreciated   
>
>
> > On 06-Sep-2016, at 8:05 PM, Marc Hoffmann <[email protected]> 
> wrote: 
> > 
> > What exactly means "differently"? What exactly are you comparing? 
> > 
> > Note that only JaCoCo has 6 different coverage metrics: 
> http://www.eclemma.org/jacoco/trunk/doc/counters.html 
> > 
> > To identify differences it is typically helpful to drill down to a 
> specific class/method and compare result. 
> > 
> > Regards, 
> > -marc 
> > 
> >> On 2016-09-06 14:04, [email protected] wrote: 
> >> Hi folks, 
> >> we are getting a wired issues could you please show some pointers 
> >> we are getting jacoco and injellij IDEA 15 Junit code coverage reports 
> >> differently any pointers would be greatly appreaciated 
>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/934fcb70-104e-4998-bb37-58e55b42224c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to