demystifying team foundation server builds mickey gousset principal consultant infront consulting...
TRANSCRIPT
Demystifying Team Foundation Server BuildsMickey GoussetPrincipal ConsultantInfront Consulting Group
DEV342
Mickey [email protected]
@mickey_gousset
http://teamsystemrocks.com
http://almrocks.com
http://radiotfs.com
tinyurl.com/protfs
Why Is Build Automation Important
Helps improve software qualityHelp reduce component integration costsThe Team Heartbeat
Build Automation Is Not…
F5This doesn’t ensure your code works with the latest changesThis doesn’t run a full suite of automated testsThis doesn’t move or deploy your app for further testing
Team Foundation Build To The Rescue
Considered part of the core TFS 2012 platformTightly integrated with other TFS services and features
Version ControlWork Item TrackingTesting
Allows for analysis of historical reporting and trendsTeam members can be notified of build statusMSBuild does the “building”, Windows Workflow does the orchestration
Team Foundation Build Architecture
Application Tier
Build Controller
Build Agent
Symbol Server
Drop ServerBuild
demo
Creating and Running A Team Foundation Build
Team Build Process
Controlled by a Windows Workflow 4.0 XAML fileThree process templates out-of-the-box
DefaultTemplateUpgradeTemplateLabDefaultTemplate
Stored in TFSCan create custom build process templates
DefaultTemplate Build Process
Used for most new, un-customized build definitionsBuild number is calculatedBuild Agent is calculatedWorkspace is createdSource Code downloadedMSBuild performs compilationTest are executedBuild Outputs copied to drop folder
demo
Customizing the DefaultTemplate build process
Custom Workflow Activities
ScenariosCollect common workflow activities into reusable LibraryExecute custom .NET code
Four ways to create a custom workflowWrite a new CodeActivityWrite a new NativeActivityCompose your own custom activity in XAMLCompose your own custom activity in code
demo
Creating a Custom Build Workflow Activity
What’s New in Team Foundation Build 2012
Hosted Build ServicesDrop to Version ControlBatched Gated Check-inChanges to the Build Service protocolUpdated Build Report
Special Thanks To…
Brian RandellEd BlankenshipMartin Woodward
Mickey [email protected]
@mickey_gousset
http://teamsystemrocks.com
http://almrocks.com
http://radiotfs.com
Developer Tools, Languages & FrameworksALM SessionsJune 14
Title Primary Speaker Date Start (US)
Finish (US)
Metrics That Matter: Improving Lean and Agile, Kanban and Scrum Steven Borg 6/14/2012 8:30AM 9:45AM
Azure Development Using Visual Studio Paul Yuknewicz 6/14/2012 10:15AM 11:30AM
Building Business Applications with Visual Studio LightSwitch Jay Schmelzer 6/14/2012 1:00PM 2:15PM
Introduction to Kanban Steven Borg 6/14/2012 1:00PM 2:15PM
Compile and Execute Requirements in Microsoft .NET David Starr 6/14/2012 2:45PM 4:00PM
Building Windows 8 Metro style Apps with Visual C++ 2012 Raman Sharma 6/14/2012 4:30PM 5:45PM
DEV Track Resources
Visual Studio Home Page :: http://www.microsoft.com/visualstudio/en-us
Jason Zander’s Blog :: http://blogs.msdn.com/b/jasonz/
Facebook :: http://www.facebook.com/visualstudio
Twitter :: http://twitter.com/#!/visualstudio
Somasegar’s Blog :: http://blogs.msdn.com/b/somasegar/
Resources
Connect. Share. Discuss.
http://northamerica.msteched.com
Learning
Microsoft Certification & Training Resources
www.microsoft.com/learning
TechNet
Resources for IT Professionals
http://microsoft.com/technet
Resources for Developers
http://microsoft.com/msdn
Complete an evaluation on CommNet and enter to win!
MS Tag
Scan the Tagto evaluate thissession now onmyTechEd Mobile
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.