詹金斯 - 使用Genymotion虚拟机而不是Android模拟器 [英] Jenkins - Use Genymotion VM instead of Android Emulator

查看:207
本文介绍了詹金斯 - 使用Genymotion虚拟机而不是Android模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人管理,而不是超慢的Andr​​oid模拟器让詹金斯使用Genymotion Android的虚拟机,?

Has anyone managed to get Jenkins to use the Genymotion android VM, instead of the super-slow android-emulator?

该Genymotion实际上是比我开发计算机真实的设备速度更快,因此将是理想的运行CI测试。

The Genymotion is actually faster than a real device on my dev machine, so would be ideal for running CI tests.

感谢您的任何想法。

西蒙

推荐答案

如果您启动CI服务器上genymotion,让它一直运行,那么它会正常工作。但如果你要唤醒它,只为你的测试,并关闭ID下来以后,那么,你将错过与genymotion一些东西到现在。

If you start the genymotion on the CI server and let it always running, then it will work fine. Although if you want to wake it up just for you tests, and shut id down afterwards, then yes, you will miss some stuff with genymotion till now.

詹金斯Android模拟器插件是在此问题上有用,但仍然没有等效采用genymotion。 Genymotion依然没有编写脚本,足以在命令行中运行,地理位置优越,无头。

The Jenkins Android emulator plugin was useful in that matter and there is still no equivalent with genymotion. Genymotion is still not scriptable enough to be run on command line, ideally headless.

然而,我们在工作的项目,我们最近切换到genymotion,启动模拟器,让它在CI服务器始终运行,一切工作正常。而这是很值得,我们下调了构建时间的2倍,而我们不面对,这是对现实模拟器如此普遍,任何内存问题,甚至HAX启用。

Nevertheless, on our projects at the job, we recently switched to genymotion, start an "emulator", let it run always on the CI server and everything works fine. And it was really worth it, we cut our build times by a factor of 2, and we don't face any memory problem that was so common on the real emulator, even with HAX enabled.

一个詹金斯插件将受到欢迎来自Genymotion。我认为他们有它自己的路线图了。

A jenkins plugin would be welcome from Genymotion. I think they have it on their roadmap already.

这篇关于詹金斯 - 使用Genymotion虚拟机而不是Android模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆