Build automation is a core practice for agile methods; using the right set of tools, developers can maintain a working set of code that is built easily and with minimum configuration overhead. Continuous Integration of the code in order to synchronize efforts between all the members of the team is the natural evolution from build automation. And with a little more effort, continuous deployment can be set up, so new features and bug fixes are seamlessly prepared to be tested or even delivered into the corresponding environment. This talk will show how these practices can be easily adopted by teams working in Microsoft/.NET environments, using Visual Studio and Team Foundation Server 2010. The talk is aimed to agile developers working with .NET technologies, who want to begin incorporating build automation into their projects.
2. ALM Team Lead at PlainConcepts Professional ScrumDeveloperTrainer MCTS in TeamFoundation Server jlsoria@plainconcepts.com http://geeks.ms/blogs/jlsoria @jlsoriat JOSE LUIS SORIA
4. Local (developer) buildautomation Server buildautomation Controlledbuildenvironment Control of dependencies Distributedbuild and processing Supportfor more advencedpractices (integration, deployment…) BuildAutomation
8. Setting up a Build in TeamFoundation Server 2010 (in lessthan a minute!) Demo
9. Maintain a Single Source Repository Automate the Build Make Your Build Self-Testing Everyone Commits To the Mainline Every Day Every Commit Should Build the Mainline on an Integration Machine Keep the Build Fast Test in a Clone of the Production Environment Make it Easy for Anyone to Get the Latest Executable Everyone can see what's happening Automate Deployment Continuous Integration practices
11. Maintain a Single Source Repository Automate the Build Make Your Build Self-Testing Everyone Commits To the Mainline Every Day Every Commit Should Build the Mainline on an Integration Machine Keep the Build Fast Test in a Clone of the Production Environment Make it Easy for Anyone to Get the Latest Executable Everyone can see what's happening Automate Deployment Maintain a Single Source Repository Automate the Build Make Your Build Self-Testing Everyone Commits To the Mainline Every Day Every Commit Should Build the Mainline on an Integration Machine Keep the Build Fast Test in a Clone of the Production Environment Make it Easy for Anyone to Get the Latest Executable Everyone can see what's happening Automate Deployment? Continuous Integration practices
12. Build Templates based in Workflow Foundation VB.NET syntax Build steps are stated as workflow activities Activities expose properties and can return values Container activities available TFS specificactivitiesforbuild and lab CustomizingTeamBuild
13. Sets Build Number Reserves a Build Agent and cleans it working folder Labels and gets the source code Compiles (multiple configurations can be stated) Runs tests Associates changesets and workitems Analyzes impacted tests Copies results to Drops folder Performs the Check-In (if using Gated Check-In) Whatthe Default Templatedoes
15. Sequence Assign Parallel and Parallel For Each For Each, While, Do While Error Handling (TryCatch, Throw) Switch Invoke Method UsefulWorkflowactivities
18. Maintain a Single Source Repository Automate the Build Make Your Build Self-Testing Everyone Commits To the Mainline Every Day Every Commit Should Build the Mainline on an Integration Machine Keep the Build Fast Test in a Clone of the Production Environment Make it Easy for Anyone to Get the Latest Executable Everyone can see what's happening Automate Deployment Maintain a Single Source Repository Automate the Build Make Your Build Self-Testing Everyone Commits To the Mainline Every Day Every Commit Should Build the Mainline on an Integration Machine Keep the Build Fast Test in a Clone of the Production Environment Make it Easy for Anyone to Get the Latest Executable Everyone can see what's happening Automate Deployment Continuous Integration practices
19. TeamBuild at MSDN: http://bit.ly/j3bCFn Continuous Integration (Martin Fowler): http://bit.ly/1k01VP Custom WF activitiesforTeamBuild (JimLamb): http://bit.ly/cPYZhF Microsoft Web Deployfor IIS: http://bit.ly/dh4ZIP VS 2010 Database Professional: http://bit.ly/fRaFPZ Thispresentation at: http://www.slideshare.net/jlsoria jlsoria@plainconcepts.com http://geeks.ms/blogs/jlsoria @jlsoriat Thankyou!!!