Ordina SOFTC Presentation - Deployment with TFS Build and Workflow

1,490 views

Published on

Ordina's Stand out from the Crowd event of May 26th - the presentation, see them all on Slideshare Ordina Belgium

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,490
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Ordina SOFTC Presentation - Deployment with TFS Build and Workflow

  1. 1. Automating deployment with with TFS Build 2010 and Workflow 4<br />Thomas Vantroyen - Ordina<br />
  2. 2. Thomas Vantroyen<br />Senior Microsoft .NET developer<br />Microsoft ALM consultant<br />SCRUM master<br />
  3. 3. Automating deployment with TFS Build 2010<br />Agenda<br />Introduction<br />What is Microsoft Team Foundation Server?<br />What is Team Foundation Server Build?<br />What Team Foundation Server Build can do for you<br />Team Foundation Server 2010 Build topology<br />Build creation & build types<br />Customizing builds<br />Getting started…<br />Example: deploying to dev/uat/demo/prod in one click<br />Conclusion<br />3<br />
  4. 4. Automating deployment with TFS Build 2010<br />What is Team Foundation Server?<br />4<br />
  5. 5. Automating deployment with TFS Build 2010<br />What is Team Foundation Server Build?<br />Build definition<br />Define steps (Activities) with WorkFlow<br />Build parameters<br />Build execution<br />Executes the defined workflow<br />Build report<br />Workflow logging<br />Work items resolved<br />Code changes<br />Test results<br />5<br />
  6. 6. Automating deployment with TFS Build 2010<br /><ul><li>What Team Foundation Build can do for you</li></ul>Without TFS Build<br />Manually set the correct build number<br />Manually build the installation package<br />Manually test the package and fix problems<br />Manually deploy the package to target machines<br />Manually deploy/update the correct database with initial data<br />…<br />With TFS Build<br />Start the build of your choice<br />… done <br />It’s bug-free<br />It’s fully automated<br />It’s customized to your needs<br />6<br />
  7. 7. Automating deployment with TFS Build 2010<br />Build Topology<br />Single machine<br />7<br />
  8. 8. Automating deployment with TFS Build 2010<br />Build Topology<br />Multiple machine<br />8<br />
  9. 9. Automating deployment with TFS Build 2010<br />Build types<br />Manual<br />Continuous integration: each checkin<br />Rolling build: each checkin when prior build is done or timed<br />Gated checkins: only checkin if build passes<br />Scheduled build<br />Private build (buddy build): build my personal changeset (shelve)<br />Build creation<br />9<br />DEMO<br />
  10. 10. Automating deployment with TFS Build 2010<br />Customizing builds<br />Where do I start?<br />Create the build<br />Copy default workflow<br />Change workflow using activities<br />Checkin<br />Queue a build!<br />10<br />DEMO<br />
  11. 11. Automating deployment with TFS Build 2010<br />Customizing builds: an example<br />Creating a one-click deploy for…<br />11<br />… your application servers?<br />… a Click-Once deploy location?<br />… any place you need it to be?<br />
  12. 12. Automating deployment with TFS Build 2010<br />Customizing builds<br />Creating a one-click deploy for each of your environments?<br />Add CopyDirectory activity<br />Create Argument: PublishLocation<br />Fill out properties:<br />Source: BuildDetail.DropLocation<br />Destination: PublishLocation<br />Check in!<br />Create a build for each environment<br />12<br />DEMO<br />
  13. 13. Conclusion:<br />Team Foundation Server Build allows you to<br />Create any activity workflow<br />... with a vast amount of possibilities<br />… allowing you to focuson your customer’s happiness<br />Automating deployment with TFS Build 2010<br />13<br />
  14. 14. Automating deployment with TFS Build 2010<br />Useful links<br />Web Deploy (a.k.a. MS Deploy)<br />Official site: http://www.iis.net/download/WebDeploy<br />PDC Session: http://www.microsoftpdc.com/2009/FT56<br />TFS Build community<br />TFS Build Extensions project: http://tfsbuildextensions.codeplex.com/<br />Contact infothomas.vantroyen@ordina.be<br />14<br />
  15. 15. Follow Ordina…<br />15<br />Share your thoughts via #SOFTC <br />Follow us on twitter: @OrdinaBE<br />Find the presentationsonwww.slideshare.net/ordinaBe<br />Be informed atwww.linkedin.com/company/ordina-belgium<br />

×