stephaneey / azure-apim-extension

Full Azure API Management suite and more VSTS extension
MIT License
66 stars 48 forks source link

Doesn't appear baseUrl was being set. #72

Closed simonness closed 4 years ago

simonness commented 4 years ago

Hi @stephaneey much appreciated if you could review and merge this one for us.

When trying to use the task stephane-eyskens.apim.apimglobalpolicy.apimglobalpolicy@1 we get the error:

##[error]Invalid URI: The hostname could not be parsed.

image

even though the variables ConnectedServiceNameARM, ResourceGroupName and ApiPortalName have been correctly set.

My guess is the missing baseUrl assignment is the issue, but I'm not sure the best way to test this change.

simonness commented 4 years ago

Just noticed #65. This fixes that issue.