Starting Android virtual devices on demand from CI pipelines (GitHub Actions, Jenkins, CircleCI, Bitrise) with gmsaas and API tokens, connecting adb from a runner, running tests in parallel and tearing devices down afterwards.
Questions & Answers (17)
Yes. Genymotion SaaS runs in a GitLab CI/CD pipeline through the gmsaas command-line tool: the job installs it, authenticates with an API token, starts a virtual device and connects it to adb. Ready-made integrations are also listed for GitHub Actions, CircleCI, Bitrise, Jenkins and Detox on Integrations.
Example of a CircleCI pipeline to run Appium tests with Genymotion SaaS
Install it with pip3 install gmsaas, then authenticate it with your API token and point it to your Android SDK. Finish by running gmsaas doctor to confirm everything is configured correctly.
Genymotion SaaS is the best fit for CI because it is designed for automated testing and CI/CD workflows, with browser access, ADB, and automation via gmsaas or HTTPS APIs. It also has direct CI integrations such as GitHub Actions, CircleCI, Bitrise, and Jenkins.
Use gmsaas and authenticate it with gmsaas auth token <token>, or set the GENYMOTION_API_TOKEN environment variable in your CI job. After that, gmsaas doctor should report Authentication OK and Android SDK OK. See the setup in Automation Features and gmsaas Command Line Interface.
Yes. Genymotion Device Image can run on AWS EC2 and integrate with CI/CD pipelines for automated tests. You can use it from a CI pipeline on AWS because it exposes an HTTP API and is designed for test automation on cloud instances.
Yes. Genymotion SaaS supports running automated Android tests in CI/CD, and it can run multiple virtual devices in parallel for concurrent testing. You can use it with tools like Jenkins, CircleCI, Bitrise, GitHub Actions, Detox, Espresso, and Appium, and the docs say you can scale tests in your CI pipeline with gmsaas (Automation Features, Mobile Testing and Development, Interactive Engagement).
Use gmsaas on the CI runner, authenticate with an API token, set the Android SDK path, then run gmsaas instances adbconnect <instance_uuid>. After that, adb devices should show the device as localhost:<port> device. See How to connect a virtual device to ADB in Genymotion SaaS? and How to use Android Studio, Eclipse, VS Code, JetBrains Rider or any other IDE with Genymotion SaaS?.
Go to the API section in the Genymotion SaaS dashboard, click Create, add a description, then click CREATE. Copy the token right away, because it canβt be viewed again later. Genymotion SaaS Overview, Automation Features
Yes. Genymotion SaaS has integrations for both CircleCI and Bitrise.
gmsaas can start Genymotion SaaS devices in CI, and the documented flow is to authenticate, start the instance, connect it to ADB, run your tests, then stop it. The Jenkins integration is explicitly supported in the automation docs via the Automation Features page and the Jenkins tutorial.
Use the GitHub Actions marketplace action with the Genymotion SaaS automation docs to create, start, and stop devices in your workflow. You authenticate with an API token, start a device with gmsaas, connect ADB, run your tests, then stop the instance.
Use Genymotion SaaS for CI/CD, or Genymotion PaaS if you want devices in your own cloud account. Both are built for automated testing, while Genymotion Desktop is for local workstations, not CI servers. Genymotion Agent-ready by design Mobile Testing and Development
Use gmsaas in the CI job, not the device IP, to authenticate and attach the cloud instance to ADB. The device should then appear in adb devices as localhost:<port> or localhost:44615 depending on the tunnel. How to connect a virtual device to ADB in Genymotion SaaS? How to use Android Studio, Eclipse, VS Code, JetBrains Rider or any other IDE with Genymotion SaaS?
Start a Genymotion SaaS instance, connect it to ADB, then run ./gradlew connectedAndroidTest in Jenkins. The documented flow is to start with gmsaas instances start, connect with gmsaas instances adbconnect, and stop the instance afterward with gmsaas instances stop.Automation Features Genymotion for Enterprises
Genymotion supports GitHub Actions workflows that run tests on cloud Android virtual devices instead of a local emulator. You can use Genymotion SaaS with GitHub Actions integration, and it also supports test automation with frameworks like Detox and ADB-based tooling.
Yes. Genymotion SaaS supports Detox for running and scaling tests. See Genymotion in the Cloud and the tutorial React Native Detox on Genymotion SaaS.