Click green + to create a new release definition.
Select Azure WebSite deployment and click Ok in the dialog box.
This will create an environment with Azure Web App Deployment task. Rename the environment added to let’s say DevInt.
In the Artifacts tab of the release definition, click on Link an artifact source.
Select the build we have created in Part1.
In Azure Web App Deployment task set the parameters as shown below.
To link Azure Subscription to your VS Team Services Team Project follow the instructions here. Web App Name is the Azure Web App Name. Use the App Service Location as the Web App Location.
Select Deploy Package from linked artifact. How to publish build artifact is explained in Part1.
Trigger can be set to Continuous Deployment so that new artifact availability will trigger a deployment.
Approvers can be assigned but let’s keep it automated.
Let’s trigger a new build using build definition we have created in Part1.
Once the build done release automatically get triggered and get completed.
Site is getting deployed to Azure Web App.
2 comments:
Wow, what an informative post. Really helpful for web designers. Here described How we can setup a Release Pipeline in a good way so that It is easy to read and understand. Visual Studio Team Services Release Management, to deploy this web site as an Azure Web Application. Thanks a lot for sharing with us.I had some idea about asp.net when I hosted my business through Myasp.net.
@Smith Cole glad to hear my post helped you
Post a Comment