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 001](http://lh5.ggpht.com/-eNa0GI04xF0/U7B00UYj7oI/AAAAAAAACPE/JFsxw1YJsQM/001_thumb%25255B6%25255D.png?imgmax=800)
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 002](http://lh5.ggpht.com/-NyHt9tzq7Sc/U7B622kFTSI/AAAAAAAACPc/eQr3O8d0UL0/002_thumb%25255B3%25255D.png?imgmax=800)
Let’s share this folder for read access for everyone.
![003 003](http://lh3.ggpht.com/-xGXwX18QPlA/U7B65E_a06I/AAAAAAAACPs/MZ9--wqowcQ/003_thumb%25255B3%25255D.png?imgmax=800)
![004 004](http://lh3.ggpht.com/-yqWSSx1ivHA/U7B67CYC2VI/AAAAAAAACP8/JgxSTEBVg14/004_thumb%25255B2%25255D.png?imgmax=800)
Verify access from the development machine.
![005 005](http://lh3.ggpht.com/-kJvljnzN_gg/U7B68igc0GI/AAAAAAAACQM/zjE2eixO95U/005_thumb%25255B1%25255D.png?imgmax=800)
![006 006](http://lh3.ggpht.com/-gnJW81M5HfM/U7B6-O3G4uI/AAAAAAAACQc/Gvjc27F8xsQ/006_thumb%25255B2%25255D.png?imgmax=800)
Now we are going to clone the CI Build which was setup in “Create a Simple Application and a CI Build”.
![007 007](http://lh4.ggpht.com/-v3asvlmchn4/U7B6_g9pzDI/AAAAAAAACQs/T4c3AfV_3jY/007_thumb%25255B1%25255D.png?imgmax=800)
Let’s rename the build definition.
![008 008](http://lh5.ggpht.com/-3FnuRJBUimI/U7B7Be_bsII/AAAAAAAACQ8/lyQZxWrR3_E/008_thumb%25255B2%25255D.png?imgmax=800)
Change the trigger of this build to manual.
![009 009](http://lh5.ggpht.com/-Y4wMedEXcuQ/U7B7CtzaKoI/AAAAAAAACRM/x2g92rsmMrg/009_thumb%25255B1%25255D.png?imgmax=800)
Set the build drop location.
![010 010](http://lh3.ggpht.com/-S59V3g9805o/U7B7EYxt8NI/AAAAAAAACRc/ZIIovqgmTDw/010_thumb%25255B1%25255D.png?imgmax=800)
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 011](http://lh3.ggpht.com/-8SRuSl70kfI/U7B7GLP6vGI/AAAAAAAACRs/L1tGkCN19kA/011_thumb%25255B2%25255D.png?imgmax=800)
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 012](http://lh3.ggpht.com/-6tTiTjinsys/U7B7H7z3mlI/AAAAAAAACR8/6JdFCeIfUcI/012_thumb%25255B2%25255D.png?imgmax=800)
Let’s queue a release build.
![013 013](http://lh5.ggpht.com/-O6YpQ-BkpZg/U7B7JY7jmrI/AAAAAAAACSM/REqxAOI8vA4/013_thumb%25255B1%25255D.png?imgmax=800)
![014 014](http://lh3.ggpht.com/-bMGenB9u0G8/U7B7LOumaRI/AAAAAAAACSc/SCsCTcVDEFs/014_thumb%25255B1%25255D.png?imgmax=800)
Build starts to run.
Once the build is done, we can see the output in the build drop location.
![016 016](http://lh5.ggpht.com/-0Q7eXvvnug0/U7B7OUR_IWI/AAAAAAAACS8/NpQ9oe91nDI/016_thumb%25255B1%25255D.png?imgmax=800)
![017 017](http://lh5.ggpht.com/-hVWPW58HgGA/U7B7Qf9zH8I/AAAAAAAACTM/xWanDyqZc2k/017_thumb%25255B1%25255D.png?imgmax=800)
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:
Post a Comment