something like this works for me :

mvn org.jacoco:jacoco-maven-plugin:0.7.1.201405082137:prepare-agent verify

+

sonar runner as post build



On Wed, Aug 6, 2014 at 4:31 PM, Justin Georgeson <[email protected]> wrote:

> I believe you still need to configure jacoco-maven-plugin so that your
> tests are run with instrumentation, but you don't need to do the reporting
> part with maven. Jenkins will read the .exec file that Jacoco generates
> during test execution and publish reports from that.
>
> > -----Original Message-----
> > From: Dan Tran [mailto:[email protected]]
> > Sent: Tuesday, August 05, 2014 9:31 PM
> > To: Maven Users List
> > Subject: Jococo report using Jenkins without the need to configure
> jacoco-
> > maven-plugin? possible?
> >
> > Hello,
> >
> > I have an impression that I dont need bring in jacoco-maven-plugin to my
> > poms, and just have Jenkins to run it at post build and magic will
> happen at
> > Jenkins page.
> >
> > So far, I have no luck with that
> >
> > Any got this working?
> >
> > Thanks
> >
> > -Dan
>
> ----------------------------------------------------------------------
> This e-mail, including any attached files, may contain confidential and
> privileged information for the sole use of the intended recipient.  Any
> review, use, distribution, or disclosure by others is strictly prohibited.
>  If you are not the intended recipient (or authorized to receive
> information for the intended recipient), please contact the sender by reply
> e-mail and delete all copies of this message.
>



-- 
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Reply via email to