It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I can create a clover.db through our 'build' job. To make this db available to subsequent Jenkins jobs, I copy this database file to the /tmp folder.
Since I can specify the license file on the command line using -Dmaven.clover.licenseLocation=/path/to/license, I assumed I would be able to specify the clover.db file on the command line such as -Dmaven.clover.cloverDatabase=/path/to/clover.db
However, when I run an integration test job using the following command line.
mvn -Dmaven.clover.licenseLocation=/path/to/license -Dmaven.clover.cloverDatabase=<path to db> -Pintegration clover2:clover
I'll see at the bottom of the output.
'No clover database specified no report generated'
I don't understand.
This should work. Clover searches for a database in the following locations:
If file is not found in none of these locations, it prints a warning "No Clover database found, skipping report generation".
Please run a build with debug logging (mvn -X) and check if you don't define the -Dmaven.clover.cloverDatabase twice or you don't override it.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreAtlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.