awslabs / aws-device-farm-gradle-plugin

Gradle plugin for AWS Device Farm.
Apache License 2.0
61 stars 32 forks source link

Can't run configured test on Device Farm with the devicefarmUpload task.(gradle devicefarmUpload. ) #29

Open ZiranLi opened 5 years ago

ZiranLi commented 5 years ago

I tried to run configured test on Device Farm with devicefarmUpload task using "gradle devicefarmUpload" command. But I got an exception:

FAILURE: Build failed with an exception.

anurag1408 commented 5 years ago

Hi, According to the aws-device-farm-gradle-plugin/README.md, it says "Run your configured test on Device Farm with the devicefarmUpload task. ( ./gradlew devicefarmUpload)" I notice in your attempt you use "gradle devicefarmUpload" command, could you please try to use " ./gradlew devicefarmUpload" with "w" to see if it works?

and check out the docs on uploading additional apps via the API here: 
https://github.com/awslabs/aws-device-farm-gradle-plugin/blob/6bc84bedb1278... 

Thanks.