Cloud Empowered ALM with TFS 2012 and CloudShare TeamLabs

By Danielle Arad - June 5, 2013
1 min read

CloudShare TeamLabs allows you to easily and seamlessly extend your development and QA labs to the Cloud, providing you with the labs you need, when you need, with the click of a mouse. Now, you can easily deploy your products on your CloudShare environments automatically using Microsoft Team Foundations Server (TFS – Microsoft’s ALM platform).

CloudShare TFS Plugin

CloudShare provides a TFS build activity that enables deployment to CloudShare environments. The steps below describe the deployment process while using the build activity.

  1. Creating a new environment from a blueprint’s specific snapshot.
  2. Zipping your product output & uploading it to the environment cloud folders.
  3. Mounting your new environment to the cloud folders.
  4. Running your deployment scripts
  5. Taking a snapshot of your new deployed environment
  6. (optional) Deleting your environment, since you can recreate it again from the snapshot just created.

The CloudShare integration module to TFS includes:

  1. Readme.docx – describes how to install and use it.
  2. CloudShare.BuildActivities.dll – contains the build activity extension for your build.
  3. CloudShare.Template.11.xaml – extension of the default template provided by Microsoft to include CloudShare build steps.
  4. CSAPI.dll – CloudShare’s native .Net API.
  5. Installer –installation tool for the build schema and activity.

The dialog below shows the build’s custom dialog for CloudShare deploy. The first dialog’s tab contains all your CloudShare account information:

CloudShare TFS Dialog Box 1

At the second tab dialog you can invoke your own deploy scripts:

CloudShare TFS Dialog Box 2

You can download the TFS Plugin for CloudShare at Disclaimer- this solution is designated for TFS 2012.