Building Android application on OpenShift Jenkins Building Android application on OpenShift Jenkins jenkins jenkins

Building Android application on OpenShift Jenkins


Please note that I have opened a feature request for a Openshift Jenkins Cartridge including the Android SDK, please vote for it here: https://openshift.uservoice.com/forums/258655-ideas/suggestions/10128225-include-use-of-android-sdk-in-jenkins-catridgeI hope this will bring us closer to being able to build Android on OpenShift Jenkins.


With the latest version of the plugin I was able to install and download the SDK artifacts but then get stuck trying to write to the ~/.android folder as OpenShift apparently doesn't allow writing to the user home folder (but instead need to install it under $OPENSHIFT_DATA_DIR).

What I did to work around that was drop to SSH and run the installation commands (i.e.: $OPENSHIFT_DATA_DIR/tools/android-sdk/tools/android update sdk -u -a -t platform-tool by hand on the box after switching HOME=$OPENSHIFT_DATA_DIR.


There is now something like that called Aerogear Digger.

https://github.com/aerogear/aerogear-digger

https://github.com/aerogear/aerogear-digger-installer

https://github.com/aerogear/digger-android-slave-image

It's an open source project and you can find there also links to mailing lists and IRC.