Hi,
I have this maven project that automates my android and iOS app using appium.
However now, I want to integrate my project as a build on a jenkins linux machine as provided by my organization.
I am currently exploring sauce labs but only trial version, and still found no help.
My testclass launches appium server, then android driver and test the test methods. However it is not working with Jenkins.
Can someone guide me how to integrate my project and run it as a build on jenkins machine.
Currently getting below error:
Finished pre-build for Sauce Labs plugin
$ /root/soft/android-sdk-linux/tools/android list target
[android] The configured Android platform needs to be installed: 5.1.1
[android] Using Android SDK: /root/soft/android-sdk-linux
[android] Creating Android AVD: /root/.android/avd/hudson_en-US_480_1080x1920_5.1.1.avd
[android] /root/soft/android-sdk-linux/tools/android create avd -f -a -s 1080x1920 -n hudson_en-US_480_1080x1920_5.1.1 -t 5.1.1
[android] Failed to run AVD creation command
Error: Target id is not valid. Use ‘android list targets’ to get the target ids.
[android] Could not create Android emulator: Failed to run AVD creation command
Starting post-build for Sauce Labs plugin
Shutting down Sauce Connect
Decremented process count for vermahimanshu2908, now 0
Flushing Sauce Connect Input Stream
Flushing Sauce Connect Error Stream
Closing Sauce Connect process
Sauce Connect stopped for: vermahimanshu2908
Finished post-build for Sauce Labs plugin
Finished: NOT_BUILT