Top Banner
Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342
23

Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Jan 05, 2016

Download

Documents

Elmer Fields
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Demystifying Team Foundation Server BuildsMickey GoussetPrincipal ConsultantInfront Consulting Group

DEV342

Page 2: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Mickey [email protected]

@mickey_gousset

http://teamsystemrocks.com

http://almrocks.com

http://radiotfs.com

Page 3: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

tinyurl.com/protfs

Page 4: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Why Is Build Automation Important

Helps improve software qualityHelp reduce component integration costsThe Team Heartbeat

Page 5: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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

Page 6: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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

Page 7: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Team Foundation Build Architecture

Application Tier

Build Controller

Build Agent

Symbol Server

Drop ServerBuild

Page 8: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

demo

Creating and Running A Team Foundation Build

Page 9: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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

Page 10: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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

Page 11: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

demo

Customizing the DefaultTemplate build process

Page 12: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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

Page 13: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

demo

Creating a Custom Build Workflow Activity

Page 14: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

What’s New in Team Foundation Build 2012

Hosted Build ServicesDrop to Version ControlBatched Gated Check-inChanges to the Build Service protocolUpdated Build Report

Page 15: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Special Thanks To…

Brian RandellEd BlankenshipMartin Woodward

Page 16: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Mickey [email protected]

@mickey_gousset

http://teamsystemrocks.com

http://almrocks.com

http://radiotfs.com

Page 17: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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

Page 18: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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/

Page 19: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

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

Page 20: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

Complete an evaluation on CommNet and enter to win!

Page 21: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

MS Tag

Scan the Tagto evaluate thissession now onmyTechEd Mobile

Page 22: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.

© 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.

Page 23: Demystifying Team Foundation Server Builds Mickey Gousset Principal Consultant Infront Consulting Group DEV342.