awslabs / aws-device-farm-jenkins-plugin

Jenkins plugin for AWS Device Farm.
Apache License 2.0
89 stars 66 forks source link

unable to select from iOS device pools #25

Closed jdiaz5513 closed 9 years ago

jdiaz5513 commented 9 years ago

In the plugin configuration for a build I am able to select among Android device pools but I am not seeing any of the configured iOS device pools show up in the list.

Am I missing something? (Yes, I tried hitting refresh.)

appwiz commented 9 years ago

Hi @jdiaz5513, apologies for the late reply. What type of app have you uploaded?

jdiaz5513 commented 9 years ago

I've uploaded both Android and iOS builds for ad-hoc runs, and have device pools configured for both (our project is cross-platform).

appwiz commented 9 years ago

@jdiaz5513, please send me your AWS account ID and project name and I'll take a look at the underlying configuration. You can email the information to aws-devicefarm-support@amazon.com referencing this thread.

jdiaz5513 commented 9 years ago

Done, thanks.

appwiz commented 9 years ago

@jdiaz5513, I cloned your device pool into my account and was able to view and use it successfully via Jenkins. As you stated, I had to click "Refresh" for the pool to show up.

jdiaz5513 commented 9 years ago

I just checked today, it looks like it's working now. Bizarre! It must have been a temporary issue with the API? Thanks for the help, consider this solved.

skhanam commented 7 years ago

Hi There,

I have configured like mentioned on the documentation for some reason i see the project being populated on Jenkins however i don't see the device pool.

Could you let me know why its not picking up , when i login to console i see that the device pool is shown.

ButkiewiczP commented 6 years ago

Any idea what can be causing this?

I'm also running into this issue despite configuring our Jenkins and IAM user with the necessary policies/keys/etc. The Project dropdown correctly displays my projects, but the Device Pool dropdown remains empty.

nikhil-dabhade commented 6 years ago

@ButkiewiczP : Do you already have a device pool in that project that was created through either console or CLI ? The Jenkins plugin is only going to display pools that were already created through console or CLI. Also have you tried hitting the refresh button ?

ButkiewiczP commented 6 years ago

Yea I've pounded on the refresh button a number of times. There is a device pool attached to that project (2 in fact), but both were created before the Jenkins user, though I don't think that should make a difference. The Jenkins user has the correct IAM policies attached. Does it need any additional permissions besides the deviceFarm permissions?

Update from my dev:

I created a new project with a new device pool. Closed the Post Build Action. Refreshed the page, and now can see the device pool for the project

So looks like creating a new one worked. /shrug