Continuous Delivery with TeamCity

5,341 views

Published on

Continuous Delivery with TeamCity as presented on XPDays 2012 in Kiev, Ukraine

Continuous Delivery with TeamCity

  1. 1. TeamCity – Continuous Delivery Server Volodymyr Melymuka Levi9
  2. 2. Continuous Delivery A first principle behind Agile Manifesto: Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. TeamCity - Continuous Delivery Server
  3. 3. Think over the Release Strategy Prepare the Release plan Do first deployment early Automate everything TeamCity - Continuous Delivery Server
  4. 4. Deployment Pipeline TeamCity - Continuous Delivery Server
  5. 5. Dependent builds Create Build Chains with dependent builds TeamCity - Continuous Delivery Server
  6. 6. Multi-step builds, build chains TeamCity - Continuous Delivery Server
  7. 7. Build and Deployment scripting Use the same scripts to deploy to every environment TeamCity - Continuous Delivery Server
  8. 8. Build and Deployment scripting TeamCity - Continuous Delivery Server
  9. 9. Keep Sources clean with Remote run Use delayed commits with TeamCity TeamCity - Continuous Delivery Server
  10. 10. Apply Continuous Integration Use automatic builds triggered by each code/environment/resources change TeamCity - Continuous Delivery Server
  11. 11. Automate Acceptance Testing Regression Performance TeamCity - Continuous Delivery Server
  12. 12. Deploy and Release TeamCity - Continuous Delivery Server
  13. 13. Roles Developer QA Manager TeamCity - Continuous Delivery Server
  14. 14. Scalability, maintaining multiple projectsDistributed build AgentsParallel buildconfigurations TeamCity - Continuous Delivery Server
  15. 15. Scalability, maintaining multiple projects Advanced scheduling TeamCity - Continuous Delivery Server
  16. 16. Integration Sonar, Code quality, Code coverage TeamCity - Continuous Delivery Server
  17. 17. Custom Reports Custom build reports (Thucydides, etc.) TeamCity - Continuous Delivery Server
  18. 18. Build metrics Success rate, build duration, total test count, time to fix… TeamCity - Continuous Delivery Server
  19. 19. Free Professional vs. paid Enterprise version,pricing, legal workaround =) Professional edition does not require any server license key and has a limitation of maximum 20 build configurations configured. Enterprise edition edition with unlimited number of build configurations ($1999). Each TeamCity edition comes bundled with 3 agents. More Build Agents can be added with separate licenses ($299 per each). “Legal” workaround There’s no limit on number of TeamCity servers in one local network TeamCity - Continuous Delivery Server
  20. 20. Quick Summary TeamCity is a user-friendly continuous delivery (CD) server - for developers, quality and build engineers - easy to set up and free of charge for small and medium teams. TeamCity - Continuous Delivery Server
  21. 21. Where to go nextTeamCity documentationhttp://confluence.jetbrains.net/display/TCD7/TeamCity+DocumentationPaul M. Duvall “Continuous Integration”http://www.amazon.com/Continuous-Integration-Improving-Software-Reducing/dp/0321336380Martin Fowler “Continuous Integration“ http://www.martinfowler.com/articles/continuousIntegration.htmlJez Humble, David Farley “Continuous Delivery”http://www.amazon.com/Continuous-Delivery-Deployment-Automation-Addison-Wesley/dp/0321601912CI Feature Matrix http://confluence.public.thoughtworks.org/display/CC/CI+Feature+Matrix TeamCity - Continuous Delivery Server
  22. 22. Questions TeamCity - Continuous Delivery Server

×