Team Foundation Server 2010 Builds: Understand, Configure, and Customize Benjamin Day benday.com |
Introductions: Benjamin Day Consultant, Coach, Trainer Scrum.org Classes Professional Scrum Developer (PSD) Professional Scrum Foundations (PSF) TechEd, VSLive, DevTeach, O’Reilly OSCON Visual Studio Magazine, Redmond Developer News Microsoft MVP for Visual Studio ALM Team Foundation Server, TDD, Testing Best Practices, Silverlight, Windows Azure
Agenda Why automated builds? Tour of the build system Build servers Tour of the build script Customize your build script
Why automated builds? Helps prevent the “works on my box” problem Proves you know how to build your app Gives you a solid way to version releases Makes integration second nature
TFS 2010: New Build Features Windows Workflow-based build script Gated Checkin builds Lab Management builds New build server architecture
DEMO 1: THE GRAND TOUR
Build Controllers & Agents Controller Coordinates builds for a Team Project Collection (TPC) Assigns work to Agents Agent(s) 1+ agent per controller Use “Tags” to define capabilities of each Agent
DEMO 2: GATED CHECKIN BUILDS
DEMO 3: TOUR OF THE BUILD SCRIPT
SO…YOU WANT TO CUSTOMIZE YOUR BUILD
Why customize? Environment specific configurations IIS configuration Custom setup commands Basically, deploy your app.
Create a project to customize the build script Compile time checking Create a Windows Workflow project Add references to the required TFS assemblies Add references to any other build assemblies
Create a project to customize the build script
DEMO 4: CUSTOM BUILD SCRIPT
DEMO 5: CUSTOM BUILD WORKFLOW ACTIVITIES
Agenda Why automated builds? Tour of the build system Build servers Tour of the build script Customize your build script
More Information “Levels of TFS Build Automation”, Visual Studio Magazine, July 2011, /07/01/pfcov_TFS2010-Builds.aspx
Thank you. blog.benday.com | |