Sunday, 29 June 2014

11. Create a Release Build - Setup Virtual Environment for TFS 2013 - Using Virtualbox

In this step of ALM demo environment (Virtual Environment for TFS 2013), I am going to explain how to create a Release Build to build the website we have created in “Create a Simple Application and a CI Build”.
First step is to setup a drop location for our Virtual Environment for TFS 2013. For this we will use the build server we created in “Setup a Build Server”.

001

We have to give permission to TFS Build Service account (we have setup in “Setup a Build Server”), full control for the drop folder, in order to create build outputs

002

Let’s share this folder for read access for everyone.

003
004

Verify access from the development machine.

005
 006

Now we are going to clone the CI Build which was setup in “Create a Simple Application and a CI Build”.

007

Let’s rename the build definition.

008

Change the trigger of this build to manual.

009

Set the build drop location.

010

We are going to keep all successful builds (We need to keep these builds outputs and details as long as required and manually archive whenever necessary).

011

We are now done with the build definition. (We have changed nothing in the process tab. It is as same as the CI build setup in “Create a Simple Application and a CI Build”.)

012

Let’s queue a release build.

013
 014 

Build starts to run.

015

Once the build is done, we can see the output in the build drop location.

016
 017

We can find the site created in “Create a Simple Application and a CI Build”, published in to BuildDrop\_PublishedWebsites.
I will conclude the series Virtual Environment for TFS 2013 with this post. Do not worry, as promised when I started this series of posts, I will continue to explain VS 2013 Release Management as a new series using Virtual Environment for TFS 2013.

No comments: