Set Up a Continuous Integration Server for Android Development
I have recently acquired a new MacBook Pro as my main Android development machine and instead of selling or giving away my old Mac BookPro (13″, late 2011, 16GB RAM, 500G SSD, Core i5 2,4GHz, 64Bit) I have wiped it out and turned it into a Continuous Integration Server with dual boot MacOS-Ubuntu.
The goal of this article is to summarize the installation steps for me as future reference and for any developer that may be interested in setting up its own CI server, I will explain how to:
- Configure a fresh Ubuntu installation to be able to run the Android SDK.
- Install Jenkins CI as a service to pull, compile, and run tests of an Android multi-module project hosted in GitHub.
- Install Docker to run a MySQL server and SonarQube in their own containers, to perform static code analysis triggered by Jenkins
- Android App configuration requirements.