Android Emulator Plugin を試してみた

Android Emulator Plugin を Plugin Managerからインストールしてみて、適当にいじってみた感をつれづれと。

Job -> Configure から "Run an Android emulator during build" 辺りを設定していけばそれっぽく動く(詳細は上のURL参照)のだけど、デバイスが見つからないとか言われて失敗してしまう。

[INFO] Found 1 devices connected with the Android Debug Bridge
   :
cause : No device found for android.device=emulator

いろいろ情報をあさってみたら、[#JENKINS-12821] android.device - Jenkins JIRA が原因っぽいなぁ、と。

で、Proof of concept fix for JENKINS-12821. · 5e52444 · oldelvet/android-emulator-plugin · GitHub こんなpatchもできているんだけども、まぁ Jenkinsが動いているサーバーで、Android Emulatorを立ち上げとけば当面いいかなぁということで、件のpluginは使わずに様子見。