Matt
Matt

Reputation: 35291

Azure: Deploy from source control using Visual Studio Team Services

How do I deploy a particular branch (i.e. development branch) using Visual Studio Team Services Git repository in Azure. When I deploy from a Bitbucket repository it asks me which branch to deploy from. It does no such thing with the Team Services repo.

Once my website is linked to my Visual Studio Team Services git repository, the Deployments section in Azure reads:

The team project is linked.

Visual Studio Team Services will build and deploy your project to Windows Azure on your next check-in.

How do I deploy from my development branch?

Upvotes: 4

Views: 1760

Answers (1)

Andrea Coluccio
Andrea Coluccio

Reputation: 836

You need to edit the build definition with Visual Studio: Go to the Team Explorer toolbox, Navigate to the "Build" section, find the Build Definition automatically created by Windows Azure, edit the definition, Go to the "Process" section, Find the path of the solution to build and replace it with the path of the sln file inside your branch.

Upvotes: 3

Related Questions