Hi, The difference between my local and remote build is that my local runs with mvn clean test command and the jacoco reports are generated accurately in this scenario. Whereas, on the remote server it is run using mvn clean surefire:test and in this scenario the jacoco aggregate is showing 0 percent coverage. So, I was wondering whether surefire:test wouldn't generate accurate jacoco reports.
Thanks and regards, Tejaswi On Sunday, July 2, 2023 at 2:41:26 AM UTC-4 Marc Hoffmann wrote: > Hi, > > so what is the exact difference when you the build “remotely”? Maybe > comparing both Maven log files gives you an idea. > > Regards, > -marc > > > On 30. Jun 2023, at 20:28, tejaswi pinnaka <tejaswi...@gmail.com> wrote: > > Can jacoco reports be created using mvn initialize surefire:test, because > they generated in my case but the coverage shows 0 percent, this happens > when running the build remotely. If I run the build on my local using mvn > clean test, the reports are generated accurately. > > Thanks > > -- > 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 jacoco+un...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/f96dfcb6-e47d-4e32-8671-bb7e19579f67n%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/f96dfcb6-e47d-4e32-8671-bb7e19579f67n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- 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 jacoco+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/9a792850-1a04-4286-b8f6-2d130ef70e44n%40googlegroups.com.