Configure a Visual Studio Online (VSO) Build Agent
When using Visual Studio Online (VSO) in your team or for your personal projects, it is very useful to integrate a compilation and a continuous deployment process. With MSDN subscriptions, you have about 240 minutes of hosted build. After this time, it’s very expensive and you can not install any tools of your choice on the server.
Microsoft allow to install freely the Build and Deployment agent on a on-premice server [note 2]… and very quickly and easily. In this 5 minutes video, I am going to show how to configure a Build Agent linked to your VSO account.
In order to configure a Build Agents, you must install all tools to compile and to deploy your projects on the server:
- Visual Studio 2015 (Community Edition or Professional)
- Microsoft .NET Framework
- Microsoft Azure SDK 2.9
Next, you must download and extract the VSO Build Agent included in the Admin portal of your Visual Studio Online account: https://[your_account].visualstudio.com/_admin/_AgentPool
And finally you need to run the ConfigureAgent.cmd program.
There are no special firewall rules to define, because when you start a build process from VSO, all requests are initiated from your Build Server (in https).
That’s all ;-)
My next article will be “How to create a Build Definition, to compile and to deploy your SQL and Web projects in Azure”