Skip to content

Possibility to run genymotion ONLY on CI host #18

@suzukieng

Description

@suzukieng

I am using Genymotion on a CI host using the Gradle plugin to run instrumentation tests. This is working well.

However, when I'm developing on my workstation, I'd like to use a real device instead of genymotion, also from a license perspective. I want Genymotion to be restricted to the CI host.

When I try to run instrumentation tests on my workstation, the build will fail because genymotion is not installed:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':service'.
> Failed to notify project evaluation listener.
   > gmtool command not found. You have to specify the Genymotion path with the genymotion.config.genymotionPath parameter. Current value: /Applications/Genymotion.app/Contents/MacOS/

Is there a way to configure the Gradle plugin to only be active based on the host that is running the build, or maybe an environment variable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions