How to configure your jenkins to run android emulator

Install the emulator plugin:

https://wiki.jenkins.io/display/JENKINS/Android+Emulator+Plugin

On the Build Environment session of your job, configure the emulator, like this:

Screen Shot 2017-08-23 at 12.21.28

On the Common emulator options session:Screen Shot 2017-08-23 at 12.21.36

The -verbose is more for you to have full logs when running it. I was having some problems with timeout, jenkins was able to start the emulator, but was waiting to be ready forever until I got timeout again.

So,  I had to remove the boot animation, clean the data and remove the audio and everything was fine as you can see.

Thank you guys !

2 thoughts on “How to configure your jenkins to run android emulator

  1. Hey Rafaela,
    The instructions are great but seems like Emulator plugin has evolved and there are few challenges which I believe not to exist in 2017. I’d really appreciate if you could update this document with latest plugin setup.

    1. Hello Huzaif, thanks for the update. I am just going to add it to my pipeline. If you managed to run the emulator on your Jenkins before it, just share with me and I can update the post with credits to you 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.