In VSTS, I've set up continuous integration. One of my first steps is to use the Azure Resource Group task to deploy my ARM template to the server.
Within my ARM template, I'm provisioning a resource that has a custom name generated using the uniqueString function. In a later step, I'm using an Azure App Service Deploy task to push my code to the App Service Web App.
The problem is that since my provisioned App Service name is generated at the time of deployment, my App Service Deploy task has no idea what it is.
I assume the best way to solve this is to set a build variable equal to the App Service name when it's generated within the ARM template. But I can't find any references on how to do so. Any ideas?