You may have seen in this previous post how CloudShare works great with TFS online, now Visual Studio Online. But it works great with your on-prem TFS as well!
If you’ve already implemented TFS in your organization and you’re seeking an automated deployment solution you have three options:
1. TFS and lab management integration
2. Azure deployment
3. CloudShare continuous deployment solution
In the current post I’ll explain how to integrate your build system to your CloudShare environment. We already familiar with the disadvantages of option one & two (lab management & Azure). The lab management need a complex installations (SCVMM, lab agents installations, build &test agents installation etc.) & hardware (Hyper-v or a lot of physical machines). The main disadvantage of the Azure solution is the fact that you can deploy only web products.
CloudShare solution based on our API, which means that with a simple installation you can have a fully automated deployment. The installation provide a sample of build workflow and custom activities dll that encapsulate the API commands to your CloudShare environment.
Now, how to install:
1.) Download the zip file from here
2.) All the steps below require TFS administrator privilege
3.) Copy the zip file “CloudshareTFSPlugin.zip” to a machine with connection to TFS
4.) Extract the zip to a folder where you have full permission on it
5.) Run Installer.exe
6.) Click on “TFS Connect” button
7.) Pick your project and click “Connect” button (you can see at the left down corner that I’m running the installer as TFS administrator user)
8.) Select the build controller that you want to configure with CloudShare integration and press the Config button
Wait till you get the dialog below:
That’s it! The next post will describe how to configure your new CloudShare build definition