Facing issue in running java code integrated with appium in jenkins using TestDroid Cloud Plugin

33 views
Skip to first unread message

Eshita Singh

unread,
Nov 4, 2015, 1:35:52 AM11/4/15
to Jenkins Users
I was setting up TestDroid Cloud Plugin for Jenkins.

I have setup the desired capabilities in my java code.
I am getting following error while building the project :
My code is a maven project, and i am using appium
I have downloaded "testdroid-run-in-cloud-1.0.9 .hpi" plugin

Could you guide where i might be going wrong in my setup.

[android] Searching for Android projects...
[android] No Android projects found; wont install any dependencies.
Run test in Testdroid Cloud process started...
ERROR: Build step failed with exception
java.lang.IllegalArgumentException: No enum constant com.testdroid.api.model.APITestRunConfig.Mode.APPIUM_FULL_RUN
at java.lang.Enum.valueOf(Enum.java:236)
at com.testdroid.api.model.APITestRunConfig$Mode.valueOf(APITestRunConfig.java:26)
at com.testdroid.jenkins.RunInCloudBuilder.projectTypeToConfigMode(RunInCloudBuilder.java:618)
at com.testdroid.jenkins.RunInCloudBuilder.runTest(RunInCloudBuilder.java:383)
at com.testdroid.jenkins.RunInCloudBuilder.perform(RunInCloudBuilder.java:340)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:906)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:669)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
at hudson.model.Run.execute(Run.java:1741)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
Build step 'Testdroid: Run tests in Testdroid Cloud' marked build as failure
Finished: FAILURE
Reply all
Reply to author
Forward
0 new messages