1 / 17

TFS Build Extensions

TFS Build Extensions. Agenda. Life before Builds Build Server Components Extending a Build Definition. Life Before Builds. Build Components. Build Server Build Controller Build Agents Build Process Templates Build Definitions Builds. Build Server. Team Foundation Server

field
Download Presentation

TFS Build Extensions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TFS Build Extensions

  2. Agenda • Life before Builds • Build Server Components • Extending a Build Definition

  3. Life Before Builds

  4. Build Components • Build Server • Build Controller • Build Agents • Build Process Templates • Build Definitions • Builds

  5. Build Server • Team Foundation Server • A server that is running the Team Foundation Build Service • If the only machine, will have the Controller • If the only machine, will have the Agent • Visual Studio Online • Taken care of for you

  6. Build Controller • Accepts build requests from TFS • It then gives the request to one of the agents • i.e. manages a build agent pool • Okay to install on the TFS server – not much overhead

  7. Build Agents • Multiple Agents • Managed by a single Controller • May be configured with dependencies • e.g. Disk space, SQL Server etc. • Not recommended on the Team Foundation Server

  8. Build Process Templates • a.k.a. Build Scripts • OOTB build process templates

  9. Build Definitions • Follows the logic of a build process template • Supplies arguments to a build process template

  10. Builds • Manual, Triggered, Scheduled • Queue a new build

  11. Extending Build Definitions • Simple Case – with no assembly dependency • A slightly more complex case – with assembly dependency

  12. Custom Build – Hello World • Demo

  13. Custom Build – Slightly more Complex • SQL Server Data Tools • SSMS + VS • Version Controlling your database deployment scripts • It allows for seeding – in dev environments • DAC – data-tier application • DACPAC – DAC Package • Hand off to db admins for deployment • SQL db compares

  14. Why? • DacVersionSignifance • Synchronizing Assembly Version with DacVersion • Easy trackability and administration

  15. Community TFS Build Extensions • http://tfsbuildextensions.codeplex.com • https://www.codeplex.com/site/users/view/joubin • Community TFS Build Extensions • .NET Code Kindler

  16. Custom Build – DacVersion Sync’ing • Demo

  17. Resources • Have issues with VSO – use Twitter • @tfservice • @visualstudio • @tfsbuck • http://tfsbuildextensions.codeplex.com • email: joubin@objectsharp.com • Twitter: @joubin • Slides and Project Code will be available on joubin.net TALMUG site

More Related