Our configuration is - Jenkins build server trying to call application functionality deployed on a development server(Weblogic).
Below is my build process:
1) Source code is instrumented on Jenkins server and build is performed. (To validate I copied the instrumented code to the app server, I extracted the war and confirmed that additional coverage classes were generated.)
2) Instrumented EAR file and coverage DB file are copied to the application server(Weblogic).
3) Run Junit tests that access code(EJB's) deployed on application server.
4) Shutdown application server.
Coverage folder has been setup through "initstring" attribute on my clover-setup. I tried both relative and absolute configurations.
I even tried the system property setting "clover.initstring" setting on the application server to override the compile-time relative/absolute paths.
But, I never saw the coverage files.
The same setup works just fine on my local windows server, where-in I run the instrumented build(same build script) and deploy it to local weblogic server instance. I can see the coverage reported for the same tests I ran on the development server.
I have read thru the documentation and clover forum Q&A talking about missing coverage, but none similar to my issue.
Appreciate any help in this regard!
Thanks,
Mohan
Hello Mohan Krishna,
I'd like to ask you for more information about your configuration:
Cheers,
Grzegorz Lewandowski
Thanks Grzegorz
#1 resolved it. Had to upgrade clover version to 4.0.4.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.