If you have an Android app project including a test project in Eclipse and you would like to use Jenkins for Continuous Integration and have Checkstyle, FindBugs and Emma coverage trends - this is how it should work.
You have an Android app including a test project in Eclipse. For this document, let's assume the app project is called "android-app" and the test project "test" is located inside "android-app", and that your Android SDK is installed in "/home/joe/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 "Freestyle project" for the app project.
Create the test project using "Copy existing Item" by copying from the app project. Change the description
Skip to end of metadata Go to start of metadata