Time to Retire that Dusty Build Server A Dive into the New Build Service in Visual Studio Online Jeppe Lund Andersen Lead Software Developer at momondo
Jeppe Andersen M.Sc. Software Engineering (2013) Lead Software Developer at momondo Previously consultant at Microsoft, developing solutions, and helping others succeed, with .NET, Azure and VSO nocture.dk @nocture
It is hard – but we can do it! - with some help from VSO Build http://indulgy.com/post/P61Mb1gh61/smile-and-the-world-smiles-with-you-everything-i
Visual Studio Online VCS – Git and TFVC Build Services Deployment Project Tools for Agile Load Testing and Scrum
Team Foundation Service Visual Studio Online 2011 November 2013 Find out what is going on http://aka.ms/VSOReleaseTracker
Demo
What’s different from before? VSO Build orchestrates your builds – it is not a standalone build engine Improved everything (debugging, logging, reports, editing build definitions…) - no more XAML build definitions managed in Visual Studio Cross Platform and Extensible
It all start’s with a Build Definition A Build Definition is a configuration of a build and a collection of tasks Builds are queued based on a build definition that will end up being served by one or more agents in a pool
Managed at Project Level Managed at VSO Account Level Project 1 Pool 1 Build def. 1 Queue 1 Agent 1 Agent 3 JSON Agent 2 Queue 2 Build def. 2 JSON Pool 2 Agent 1 Agent 2 Agent 3 Project 2 Queue 1 Build def. 1 . . JSON Queue 2
High Performance Pool Web Application Release Queue 1 JSON Queue 2 Continuous General Pool JSON iOS App Release Mac Pool Macs JSON Continuous JSON Hosted
Configuring Agents PowerShell Node.js $ sudo npm install vsoagent-installer -g $ sudo chown -R $USER ~/.npm ~/agentfolder$ vsoagent-installer Extract and run .\ConfigureAgent.ps1 in PowerShell
Demo
VSO Build orchestrates build engines across platforms Reduces build server infrastructure effort Provides Hosted Windows (and soon Linux) build servers https://github.com/Microsoft/vso-agent https://github.com/Microsoft/vso-agent-tasks https://github.com/Microsoft/tfs-cli
Recommend
More recommend