I am attempting to deploy an instrumented war file (and clover.db file) to a webserver, record coverage data from manual testing, and then copy the clover database back to the machine that generated it to generate a report. I have gotten this to work when I specify the clover database location at *build* time using the maven option:
The problem is that I would like to do this at runtime to avoid having to have the build server and the webserver use exactly the same directory. I have tried using the clover initstring property:
as an option for Tomcat, but I still see the following in the logs and no coverage data is recorded:
ERROR: CLOVER: Unable to load the coverage database at "/data/hudson/home/jobs/thomas-test-job2/workspace/projects/redfin.commerceWeb/target/clover/clover.db"
Any insight you could give into what is going wrong would be appreciated.
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot