Search code examples
androidjenkinsaws-cliaws-device-farm

How to push a file to sdcard of a device on AWS Device farm from Jenkins task


I am running some instrumentation tests on AWS Device farm from my Jenkins task. Everything works fine. Now for some of the testcases, I need to put a file to sdcard of the device.

So, how to push a file to a sdcard of a device on "AWS Device Farm from jenkins machine. I have the AWS CI plugin installed on my jenkins machine.

Thanks for any help


Solution

  • You would use the Extra Data parameter in the ScheduleRun API to push files to the device sdcard.

    The AWS Device Farm Jenkins plugin does not support Extra Data uploads at this time. We are working on adding support but no ETA at this time. The plugin is open source so if you'd like to submit a pull request, we will be happy to take a look.