Presentation is loading. Please wait.

Presentation is loading. Please wait.

Team Foundation Server 2012 Builds: Understand, Configure, and Customize Benjamin Day.

Similar presentations


Presentation on theme: "Team Foundation Server 2012 Builds: Understand, Configure, and Customize Benjamin Day."— Presentation transcript:

1 Team Foundation Server 2012 Builds: Understand, Configure, and Customize Benjamin Day

2 Who’s this Benjamin Day guy? Brookline, MA Consultant, Coach, & Trainer Microsoft MVP for Visual Studio ALM Team Foundation Server, Software Testing, Scrum, Software Architecture Scrum.org Classes –Professional Scrum Developer (PSD) –Professional Scrum Foundations (PSF) www.benday.com, benday@benday.com, @benday www.benday.combenday@benday.com

3 Have you heard of Scrum.org?

4

5 http://www.pluralsight.com/training/Courses/TableOfContents/alm-fundamentals

6 http:// pluralsight.com/training/Courses/TableOfContents/alm-for-developers http:// pluralsight.com/training/Courses/TableOfContents/alm-for-developers

7 Agenda Why automated builds? Tour of the build system Build servers Tour of the build script Customize your build script

8 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

9 Assumption: local, non-Azure build.

10 Build Features Windows Workflow-based build script Gated Check-in builds Lab Management builds Build server “tagging”

11 DEMO 1: THE GRAND TOUR

12 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

13 DEMO 2: GATED CHECK-IN BUILDS

14 DEMO 3: TOUR OF THE BUILD SCRIPT

15 SO…YOU WANT TO CUSTOMIZE YOUR BUILD.

16 Why customize? Environment specific configurations IIS configuration Custom setup commands Basically, you can deploy your app.

17 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

18 Create a project to customize the build script

19 For future reference, here are the references…

20  C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies  Microsoft.TeamFoundation.TestImpact.BuildIntegration.dll  Microsoft.VisualStudio.TeamFoundation.dll  C:\Windows\assembly\GAC_MSIL\Microsoft.TeamFoundation.TestImpact.Client\ 11.0.0.0__b03f5f7f11d50a3a\  Microsoft.TeamFoundation.TestImpact.Client.dll  C:\Program Files (x86)\Microsoft Visual Studio 11.0\ Common7\IDE\ReferenceAssemblies\v2.0  Microsoft.TeamFoundation.Build.Client.dll  Microsoft.TeamFoundation.Build.Workflow.dll  Microsoft.TeamFoundation.Common.dll  Microsoft.TeamFoundation.VersionControl.Client.dll  Microsoft.TeamFoundation.VersionControl.Common.dll  Microsoft.TeamFoundation.WorkItemTracking.Client.dll  Assembly Reference  System.Activities.Presentation  System.Drawing  PresentationCore  PresentationFramework  WindowsBase

21 DEMO 4: CUSTOM BUILD SCRIPT

22 DEMO 5: CUSTOM BUILD WORKFLOW ACTIVITIES

23 Agenda Why automated builds? Tour of the build system Build servers Tour of the build script Customize your build script

24 More Information “Levels of TFS Build Automation”, Visual Studio Magazine, July 2011, http://visualstudiomagazine.com/Articles/ 2011/07/01/pfcov_TFS2010-Builds.aspx

25 Thank you. http://www.benday.comhttp://www.benday.com | benday@benday.combenday@benday.com


Download ppt "Team Foundation Server 2012 Builds: Understand, Configure, and Customize Benjamin Day."

Similar presentations


Ads by Google