If you have an Android app project along with its test project in Eclipse and you would like to use Jenkins for Continuous Integration and have FindBugs and Emma coverage trends - this is how it should work.
You have a "standard" Android app and test project in Eclipse. For this document, let's assume the app project is called "android-app" and the test project "android-test", and that your Android SDK is installed in "/data/android-sdk".
The directory tree should look like
Assuming this directory structure then the commands below would be executed from /home/joe/workspace
If you want to build your projects in Jenkins and use the Emma plugin to see the test coverage and trend, you cannot use the "coverage.html" file as it currently is generated by the "coverage" Ant task and you have to change it to create a "coverage.xml" instead:
Create a "free-style software project" for each the app project and the test project.
Skip to end of metadata Go to start of metadata