170 likes | 423 Views
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
E N D
Agenda • Life before Builds • Build Server Components • Extending a Build Definition
Build Components • Build Server • Build Controller • Build Agents • Build Process Templates • Build Definitions • Builds
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
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
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
Build Process Templates • a.k.a. Build Scripts • OOTB build process templates
Build Definitions • Follows the logic of a build process template • Supplies arguments to a build process template
Builds • Manual, Triggered, Scheduled • Queue a new build
Extending Build Definitions • Simple Case – with no assembly dependency • A slightly more complex case – with assembly dependency
Custom Build – Hello World • Demo
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
Why? • DacVersionSignifance • Synchronizing Assembly Version with DacVersion • Easy trackability and administration
Community TFS Build Extensions • http://tfsbuildextensions.codeplex.com • https://www.codeplex.com/site/users/view/joubin • Community TFS Build Extensions • .NET Code Kindler
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