• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introduction to Build in 2010
 

Introduction to Build in 2010

on

  • 967 views

An introduction to the enhancements and customisation in build in 2010

An introduction to the enhancements and customisation in build in 2010

Statistics

Views

Total Views
967
Views on SlideShare
958
Embed Views
9

Actions

Likes
0
Downloads
6
Comments
0

1 Embed 9

http://www.slideshare.net 9

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • I – Welcome, and who I amN – Understand and make best use of the new build framework in 2010T – 1 hour
  • Detail the changes in the new frameworkShow how to define a build with workflowDemo writing a custom activityExplain the options for extending builds in 4.0
  • Controllers & AgentsScenario: Build agent is busy, CI builds start queueing... Time lapses, feedback loop expands, developer Controller fixes this by providing: Agent Pooling and round robin style agent selection (on free agents first, then shortest queue length) Capable of performing distribution of full builds, or parts of builds (truly parallel) Tagging of agents for preferable selection by build types (i.e. Build requiring BizTalk or Load Test etc.) Test features are now included as base install, less need for VS on build machineBuild DetailsLog updatesClickable error links that take you to the CI in source control and illustrate the errorOverview reporting for build times and healthImmediate access to quality and retention actionsBuild retention granularityAbility to retain parts of builds
  • Controllers and AgentsNew Build ReportFiner grained control of build definition and process
  • Object model provides extensibility points for use Multiple entry points for extensibility though the API etc. Functions that are evaluated as properties (sound like delegates?) 3 types String – make use of the string methods to do things like substring on any string property Static – access the static methods of some of the framework classes e.g. DateTime.Now or Guid.NewGuid()MSBuild – custom property functions to provide support things like basic arithmetic, escaping and bitwise operations Registry View functions – lookup reg keys. Used to do things like look for pre-req installations Support for nesting Custom Code for Tasks Inline in the build scriptSupported via a element Has provision for referencing and using functionality Support for c# and vb Supports parameters in both directions Execute custom code, without having to write a build tasks assembly, build and publish Beware of copy -> paste mentality. Sometimes a single referenced assembly of build tasks is better! Allows more fine grained control of the build process Can start a task before or after a specific build target Allows injection of post task checking, or pre task validation
  • How many of you have customised your current team builds? How much do you like writing XML? Workflow driven builds Base templates providing full customisation support, and ability to define own templates Configuration greatly simplified through workflow property interfaces
  • Customise a build – extending from the existing customisations (build at X working in TB) What if we’d like to extend outside of our proj files? Create a custom build def Create a custom composite activity Create a custom code activity

Introduction to Build in 2010 Introduction to Build in 2010 Presentation Transcript

  • Discover, Master, Influence
    Slide 2
    Build 4.0
    Stephen Godbold
    Senior Developer, Readify
  • What we’ll cover today
    Infrastructure
    MSBuild
    Team Build
    Customising a Build
    Discover, Master, Influence
    Slide 3
  • Infrastructure
    Build 4.0
    Discover, Master, Influence
    Slide 4
  • Infrastructure
    Build Controllers & Agents
    Build Details
    Discover, Master, Influence
    Slide 5
  • Infrastructure
    Discover, Master, Influence
    Slide 6
  • MSBuild
    Build 4.0
    Discover, Master, Influence
    Slide 7
  • MSBuild
    Extensibility
    Property Functions
    Inline Tasks
    Before and After Targets
    Discover, Master, Influence
    Slide 8
  • MSBuild
    Discover, Master, Influence
    Slide 9
  • Team Build
    Build 4.0
    Discover, Master, Influence
    Slide 10
  • Team Build
    Workflow Driven
    Build Process Templates
    Configuration
    Discover, Master, Influence
    Slide 11
  • Customisation
    Build 4.0
    Discover, Master, Influence
    Slide 12
  • Customisation
    Inline Tasks
    Custom Activities
    Existing Customisations
    Discover, Master, Influence
    Slide 13
  • Team Build & Customisation
    Discover, Master, Influence
    Slide 14
  • Team Build & Customisation
    Discover, Master, Influence
    Slide 15
  • More Info?
    Build Blogs
    http://blogs.msdn.com/willbar/
    http://blogs.msdn.com/jimlamb/
    http://blogs.msdn.com/aaronhallberg/
    Discover, Master, Influence
    Slide 16
  • Contact
    Discover, Master, Influence
    Slide 17
    @SteveGodbold
    http://seesharper.wordpress.com
    stephen.godbold@gmail.com