Geeks With Blogs
Mike Azocar So long and thanks for all the Fish!
This is the second part of the Team Foundation Build series that I started back in October.á One of the important things to understand about Team Build is the build process.á As I outlined in the first part of this series, Team Build is nothing more than a set of custom tasks for MS Build.á The custom tasks are called from a set of custom targets that are organized to complete the build.? Here are the targets and the order in which they are called:
  1. CheckSettingsForEndToEndIteration

  2. EndToEndIteration

  3. BeforeEndToEndIteration

  4. BuildNumberOverrideTarget

  5. InitializeEndToEndIteration

  6. Clean

  7. BeforeClean

  8. CoreClean

  9. AfterClean

  10. TeamBuild

  11. InitializeBuild

  12. PreBuild

  13. InitializeWorkspace

  14. BeforeGet

  15. CoreGet

  16. AfterGet

  17. BeforeLabel

  18. CoreLabel

  19. AfterLabel

  20. Compile

  21. BeforeCompile

  22. CoreCompile

  23. AfterCompile

  24. PostBuild

  25. GetChangeSetsAndUpdateWorkItems

  26. Test

  27. BeforeTest

  28. CoreTest

  29. RunTestWithConfiguration

  30. AfterTest

  31. PackageBinaries

  32. DropBuild

  33. BeforeDropBuild

  34. CoreDropBuild

  35. CopyLogFiles

  36. AfterDropBuild

  37. AfterEndToEndIteration

Errors that occur during the build are handled by these targets:
  • OnBuildBreak

  • BeforeOnBuildBreak

  • GetChangeSetsOnBuildBreak

  • DropBuild

  • CreateWorkItem

  • AfterOnBuildBreak

While you can override any of the targets listed above Team Build has several targets that are setup to be overridden out of the box.á Those targets are:
  • BeforeEndToEndIteration

  • BuildNumberOverrideTarget

  • AfterEndToEndIteration

  • BeforeClean

  • AfterClean

  • BeforeGet

  • AfterGet

  • BeforeLabel

  • AfterLabel

  • BeforeCompile

  • AfterCompile

  • BeforeTest

  • AfterTest

  • PackageBinaries

  • BeforeDropBuild

  • AfterDropBuild

  • BeforeOnBuildBreak

  • AfterOnBuildBreak

Next we will look at the process in more detail and drill into how Team Build does what it does. Happy Coding! Posted on Friday, December 22, 2006 8:12 PM Team Build | Back to top


Comments on this post: Demystifying Team Build Part 2

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Mike Azocar | Powered by: GeeksWithBlogs.net