How to Deploy On-Premises with Visual Studio Online Continuous Delivery

TheFastCat picture TheFastCat · Apr 8, 2014 · Viewed 9k times · Source

My team uses Visual Studio Online ("VSO") to manage our ALM.

We already have a push-button build-process in place to build code from our local Git repo (remotely) and deploy it to a Microsoft Azure Website on Azure.

In addition to this we want a local, development-testing environment built and deployed with a push of a button.

What is the best way to integrate an automated, on-premises development-testing deployment into our development pipeline from within VSO's ALM ecosystem?

[We do also own TFS 2012 -- is there a way to leverage it from VSO to drive an on-premises build deployment from our VSO git repo?]

Answer

ozhug picture ozhug · Mar 11, 2015

To deploy builds on-premise, I installed an on-premise build server and used it as the default build controller in my build definition.

When installing the build server select your Visual Studio Online url to point the build server to your team project collection.

I used the instructions here http://myalmblog.com/2014/04/configuring-on-premises-build-server-for-visual-studio-online/

(normal issues when installing a build server remember to copy over your MSbuild folder from a machine with Visual Studio already installed etc...)