Team Build Lifecycle

EndToEndIteration target order with dependencies:

<>

BeforeEndToEndIteration

BuildNumberOverrideTarget

InitializeEndToEndIteration – Updates drop location

<>

BeforeClean

CoreClean – Deletes all old files

AfterClean

<>

Clean

<>

InitializeBuild – Creates SolutionRoot folder

<>

InitializeWorkspace – Delete and recreate workspace

BeforeGet

CoreGet – Gets all Team Project source

AfterGet

BeforeLabel

CoreLabel – Labels all files in workspace

AfterLabel

<>

PreBuild

<>

BeforeCompile

CoreCompile – Prep and build solutions

AfterCompile

<>

Compile

<>

GetChangeSetsAndUpdateWorkItems – Update reporting

<>

PostBuild

<>

BeforeTest

CoreTest – Run tests and save results

AfterTest

<>

Test

PackageBinaries

<>

TeamBuild

<>

BeforeDropBuild

<>

CoreDropBuild – Copy output and build log to drop location

CopyLogFiles – Copy other logs to drop location

AfterDropBuild

<>

DropBuild

AfterEndToEndIteration

<>

EndToEndIteration

New targets can be added through dependencies at any place marked with a <> by overriding xxxDependsOn properties, where xxx is the target marked in red immediately following the marker.

Targets marked in blue are empty targets designed to be overridden.

Leave a Reply

Your email address will not be published. Required fields are marked *