Azure / azure-acr-plugin

Jenkins Azure ACR plugin
MIT License
2 stars 10 forks source link

Can't choose a resource group #45

Open benjaminxie opened 4 years ago

benjaminxie commented 4 years ago

When I'm configuring my build and at the ACR Quick Tasks step, after choosing my Azure credential, I cannot select my resource group as it doesn't appear in the drop down menu. The menu only has "--- Select Azure resource group ---" as an option. I'm not sure why my none of my resource groups aren't appearing. Have I set something up incorrectly?

This next thing probably is irrelevant but I thought I'd include it just in case. Seeing as I can't select a resource group, it makes sense that I can't select a container registry. However, the only option in the drop down menu other than "--- Select Azure Container Registry ---" is actually an error message

com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.microsoft.azure.CloudError` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('{"error":{"code":"ResourceGroupNotFound","message":"Resource group '--- Select Azure resource group ---' could not be found."}}')
 at [Source: (String)""{\"error\":{\"code\":\"ResourceGroupNotFound\",\"message\":\"Resource group '--- Select Azure resource group ---' could not be found.\"}}""; line: 1, column: 1]