Jenkins: From Continuous Integration to Continuous Delivery

29,730 views

Published on

Continuous Delivery is the highest form of Continuous Integration. More than just automated deployment, Continuous Delivery involves a mindset change - any build that passes the necessary quality gates can be deployed into production on demand.
In this talk, 'Jenkins: The Definitive Guide' author John Ferguson Smart discusses strategies enabling you to turn your Jenkins server into a Continuous Delivery platform, including:
- Ways to ensure your builds are always production-ready - automatically!
- Parameterizing your builds with style!
- Using build pipelines and build promotion in Jenkins to filter out poor builds and streamline the build process.
- Reusing artifacts across builds
- Rolling back and redeploying previous builds
- Deploying to app servers and to the cloud
This talk is aimed at developers and build engineers with some previous experience with Hudson/Jenkins.

Published in: Technology, Business
2 Comments
72 Likes
Statistics
Notes
  • Hi, Do you have video presentation for the demos? Thanks!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • What jenkins plugins have you used for deploy paralell branchs ? Thanks.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
29,730
On SlideShare
0
From Embeds
0
Number of Embeds
257
Actions
Shares
0
Downloads
888
Comments
2
Likes
72
Embeds 0
No embeds

No notes for slide

Jenkins: From Continuous Integration to Continuous Delivery

  1. 1. JenkinsFrom Continuous Integration to Continuous DeliveryJohn Ferguson SmartCEOWakaleo Consulting
  2. 2. Who is this guy, anyway? Consulta nt Trainer Mentor Author Speaker Coder John Fer guson S mar t 2
  3. 3. Continuous Delivery Ge5ng  value  to  the  business. Fast. 3
  4. 4. CI in the clouds DEV INTEGRATION STAGING PROD 4
  5. 5. Demonstration environment Source  code  on  Github
  6. 6. Demonstration environment Jenkins  instance  on  Amazon
  7. 7. Demonstration environment Deploying  to  CloudBees  @RUN
  8. 8. Demonstration environment Our  applicaLon
  9. 9. Branching into Continuous Delivery or:   How   I   Stopped   Worring   And   Learned  to  Love  Feature  Branches
  10. 10. Branching into Continuous Delivery Feature  B   Stable   Feature  A   Feature  C  
  11. 11. Branching into Continuous Delivery Feature  B   Stable   Feature  A   Pick  and  choose  what   Feature  C   goes  into  a  release
  12. 12. Branching into Continuous DeliveryThe  problem  with  feature  branches Everyone  needs  a  canary  or  two
  13. 13. Branching into Continuous Delivery Stable   IntegraLon
  14. 14. Branching into Continuous Delivery Stable   gameoflife-­‐integraLon IntegraLon
  15. 15. Branching into Continuous Delivery Feature  branch  integraLon  is  easy  with  git  and  Jenkins
  16. 16. DEMOThe integration branch in action
  17. 17. Smoke tests“Where  there’s  smoke,  there’s  fire” ConLnuous  Delivery  is  impossible   without  ConLnuous  Quality
  18. 18. Smoke tests gameoflife-­‐integraLon DEV gameoflife-­‐smoke-­‐tests INTEGRATION STAGING PROD
  19. 19. Smoke testsSmoke  Tests  can  also  be  Automated  Acceptance  Tests gameoflife-­‐integraLon DEV gameoflife-­‐smoke-­‐tests
  20. 20. DEMOSmoke Tests in Action
  21. 21. Continuous Delivery Deliveries  when  the  business  needs  them
  22. 22. Continuous Delivery Feature  B   Stable   gameoflife-­‐default gameoflife-­‐code-­‐quality 1.2.3 gameoflife-­‐release-­‐candidate STAGING gameoflife-­‐smoke-­‐tests
  23. 23. DEMOProducing a release candidate
  24. 24. Build PipelinePushing  your  code  into  producLon
  25. 25. Build Pipeline Stable   gameoflife-­‐default gameoflife-­‐code-­‐quality gameoflife-­‐release-­‐candidate STAGING gameoflife-­‐smoke-­‐tests 1.2.3 gameoflife-­‐deploy-­‐to-­‐prod PROD gameoflife-­‐smoke-­‐tests
  26. 26. Build Pipeline
  27. 27. DEMOThe build pipeline
  28. 28. THANK YOU! John  Ferguson  Smart Email:  john.smart@wakaleo.com Web:  h`p://www.wakaleo.com Twi`er:  wakaleo

×