On 14/10/15 00:58, Kirshan Luhana wrote: > I heard there is some difference between running UI / Android projects > from studio and Jenkins.
I don't know where/what you heard, but there shouldn't be any Jenkins-specific issues. You can already build Android apps from the command line using Gradle, and doing it in Jenkins is no different. > We are setting Jenkins slave first time for UI test, is there any > special consideration for setting Android / Gradle environment , > versions, environment variables and some special plugins / tools to > install ? The easiest way to build an app with Jenkins (or anywhere) is to add the SDK Manager Gradle plugin to your Android project: https://github.com/JakeWharton/sdk-manager-plugin Building on Jenkins then just requires checking out the source code, and running the ./gradlew task(s) you want — either with an "Execute shell" step, or by using the Gradle plugin. If you additionally want Jenkins to run an emulator for UI tests, you can use this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Android+Emulator+Plugin Regards, Chris -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/561E5F16.9030603%40orr.me.uk. For more options, visit https://groups.google.com/d/optout.