View
217
Download
0
Embed Size (px)
Citation preview
Team Foundation Server 2010 Builds: Understand, Configure,
and Customize
Team Foundation Server 2010 Builds: Understand, Configure,
and CustomizeBenjamin DayBenjamin Day
benday.com | blog.benday.com@benday
Introductions: Benjamin DayIntroductions: 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• http://blog.benday.com• [email protected]
AgendaAgenda
• Why automated builds?• Tour of the build system• Build servers• Tour of the build script• Customize your build script
Why automated builds?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 FeaturesTFS 2010: New Build Features
• Windows Workflow-based build script• Gated Checkin builds• Lab Management builds• New build server architecture
Build Controllers & AgentsBuild 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
Why customize?Why customize?
• Environment specific configurations• IIS configuration• Custom setup commands
• Basically, deploy your app.
Create a project to customize the Create a project to customize the build scriptbuild script
• Compile time checking
• Create a Windows Workflow project• Add references to the required TFS
assemblies• Add references to any other build
assemblies
AgendaAgenda
• Why automated builds?• Tour of the build system• Build servers• Tour of the build script• Customize your build script
More InformationMore Information
• “Levels of TFS Build Automation”, Visual Studio Magazine, July 2011, http://visualstudiomagazine.com/Articles/2011/07/01/pfcov_TFS2010-Builds.aspx