[
https://issues.jenkins-ci.org/browse/JENKINS-12821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159389#comment-159389
]
Richard Mortimer commented on JENKINS-12821:
--------------------------------------------
Proof of concept fix committed to my personal github a-e-p fork.
https://github.com/oldelvet/android-emulator-plugin/tree/jenkins-12821-poc
I intend to implement the port allocator side of this in due course but have
verified that the fix allows android.device=emulator to work with the proof of
concept.
> android.device
> ---------------
>
> Key: JENKINS-12821
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12821
> Project: Jenkins
> Issue Type: Bug
> Components: android-emulator
> Affects Versions: current
> Reporter: Sebastian Schefczyk
> Assignee: Richard Mortimer
> Priority: Minor
>
> The following configuration of the android-maven-plugin will not find the
> running emulator on Jenkins.
> Commenting this line will find the emulator.
> On my local machine this is working fine, but not in Jenkins.
> Both machines use maven 3.0.4 on Linux/Ubuntu.
> <groupId>com.jayway.maven.plugins.android.generation2</groupId>
> <artifactId>android-maven-plugin</artifactId>
> <configuration>
> ...
> <device>emulator</device>
> ...
> </configuration>
> </plugin>
> This configuration is useful on the local machine, if you are developing
> while charging your phone via USB.
> Best regards, that's a really nice plugin!
> Sebl29
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira