Android 使用快照时自动更新GenyMoon上的PlayServices

Android 使用快照时自动更新GenyMoon上的PlayServices,android,jenkins,cron,continuous-integration,genymotion,Android,Jenkins,Cron,Continuous Integration,Genymotion,我们正在使用Genymotion Emulator在Jenkins CI服务器上运行UI测试。为了为每个测试项目提供一个干净的测试环境,我们使用了一个快照,该快照将用于测试: VBoxManage snapshot "Phone_4.3" restore "initial" /Applications/Genymotion.app/Contents/MacOS/player --vm-name "Phone_4.3" & 不过,如果有一个新版本的google play services

我们正在使用Genymotion Emulator在Jenkins CI服务器上运行UI测试。为了为每个测试项目提供一个干净的测试环境,我们使用了一个快照,该快照将用于测试:

VBoxManage snapshot "Phone_4.3" restore "initial"
/Applications/Genymotion.app/Contents/MacOS/player --vm-name "Phone_4.3" &
不过,如果有一个新版本的google play services(如google play services)可用,那么最好有一个脚本或cron作业来自动更新我们当前的模拟器快照

我知道如何启动模拟器:

/Applications/Genymotion.app/Contents/MacOS/player --vm-name "Phone_4.3" &
以及如何拍摄快照:

VBoxManage snapshot "Phone_4.1" take "initial"
现在我需要知道,如何确保运行的模拟器更新google play服务?有什么方法可以从命令行触发它,或者我可以编写一个UI测试吗

我们当前的方法是手动更新快照