How to get the class files and source files of a remote webservice?

24 views
Skip to first unread message

Kishore Mohanavelu

unread,
Nov 24, 2020, 10:41:20 PM11/24/20
to JaCoCo and EclEmma Users
Hi Team,

We have a micro service present as a part of separate code repo and our automation exists as a separate code repository. I am able to fetch the jacoco code coverage exec from the micro service. But during report generation using the jacococli, i have to provide the class files(which is mandatory) path in the command line. How can i achieve this? Because the code is present as a part of separate repos(automation and application code repos) I am not sure how I can provide the classfiles path inside the automation. We have 9 to 10 micro services, where we want to achieve the same thing. Can someone please help me or point me in the right direction?

Thanks,
Kishore Mohanavelu

Marc Hoffmann

unread,
Nov 25, 2020, 3:39:08 AM11/25/20
to JaCoCo and EclEmma Users
Hi,

this depends on your build and deployment chain. If you e.g. publish the artifacts from the microservice build to a repository you might download the class files from there.

Maybe check with the people who are responsible for the build chain?

Rgds,
-marc

--
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/c9d05cdb-cd77-4a57-931c-870213b6c33bn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages