Plugin Information |
---|
No information for the plugin 'android-device-connector' is available. It may have been removed from distribution. |
This plugin lists up all the Android devices connected to the master and all the Jenkins slaves, and provide operations to them.
Specifically, the current version provides the following functionalities:
- UI that lists all the connected devices and their properties.
- Build step that lets you deploy *.apk to a device (a build running on one slave can deploy app to Android connected to another slave.)
- Web UI and CLI commands to deploy *.apk
The Slave or the host where the devices are connected require to have the adb command in PATH.
It is based on the iOS Device connector plugin iOS Device connector plugin.
Many thanks to Kohsuke Kawaguchi for making the iOS Device plugin, without it I wouldn't been able to make it.
Common Pitfalls
Environment variables
If you don't see your connected devices then make sure:
- the ANDROID_HOME environment variable set and visible to Jenkins
- adb is in $ANDROID_HOME/platform-tools/
- adb is in PATH
SSH slaves
If you are using SSH slaves, then the easies solution is to make an adb symbolic link to /usr/bin/adb on the Slave.
sudo ln -s /path/to/android_home/platform-tools/adb /usr/bin/adb
GitHub repo https://github.com/xfreebird/android-device-connector-plugin
Changelog
Version 1.3 (Feb 28, 2014)
- Initial release
Attachments:
Screen Shot 2015-02-28 at 10.14.47 PM.png (image/png)
Screen Shot 2015-02-28 at 10.15.10 PM.png (image/png)
Screen Shot 2015-02-28 at 10.15.30 PM.png (image/png)
Screen Shot 2015-02-28 at 10.15.30 PM.png (image/png)
Screen Shot 2015-02-28 at 10.14.30 PM.png (image/png)
Screen Shot 2015-02-28 at 10.14.47 PM.png (image/png)
Screen Shot 2015-02-28 at 10.15.10 PM.png (image/png)
Screen Shot 2015-02-28 at 10.15.30 PM.png (image/png)