Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Cloud Foundry
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creati...
Demo
Unless otherwise indicated, these slides are 

© 2013-2015 Pivotal Software, Inc. and licensed under a
Creative Commo...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a

Creative Commons Att...
Upcoming SlideShare
Loading in …5
×

CI on the Cloud with Jenkins, Spring and Cloud Foundry

1,518 views

Published on

This presentation will highlight an integrated development process that involves Spring code built with CloudBees Jenkins Enterprise and deployed to CloudFoundry. A software lifecycle of continuous delivery from source code control (Git) to Jenkins build (Maven and Gradle) to live deployment on a Cloud Foundry instance will be shown.

We will demo using Jenkins to do a blue/green application deployment. With a Cloud Foundry blue/green Jenkins deployment, you can push a new version of the application and have a software router add that to an existing version of the application's route. The two versions are then load-balanced, allowing for testing of the new version and easy replacement or fall-back to the existing version. Developers can run builds on private and public clouds with deploy to either/both Jenkins running on a PaaS and integrated into the PaaS. We will run a hands-on demo and show the beauty and simplicity of an integrated build pipeline with Spring, Jenkins and Cloud Foundry.

Published in: Technology

CI on the Cloud with Jenkins, Spring and Cloud Foundry

  1. 1. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ CI on the Cloud with Jenkins, Spring and Cloud Foundry Jamie O’Meara, Sr Field Engineer, Pivotal @JamieOMeara
  2. 2. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Introduction ! Cloud Foundry enthusiast ! 20 years of software engineer experience ! Twitter: @JamieOMeara 2
  3. 3. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 3 Software is Changing Industries
  4. 4. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 8 Releases to 2 Months 4
  5. 5. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ How Did They Do It? 5 Culture built around change • 12-24 releases per year for apps • Experimental releases, A/B testing, production? Communicative Process • Frequent releases delivered to users • User Feedback Loops and Metrics Technology and Tools • Automated Platform Delivery and Services • Cloud Services
  6. 6. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Continuous Quality 6 • Continuous Deployment • Continuous Delivery • Hybrid Cloud • Configuration Management • Blue/Green Deployment • Baselined Delivery • Production • Object-Oriented • Test Driven Development • Continuous Integration Build Delivery Quality
  7. 7. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What is Cloud Foundry? 7 1 2 43 Portable Across Clouds Polyglot and API Centric Open Source Community Highly Available and Scalable http://cloudfoundry.org
  8. 8. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ The Value of Platform 8 IaaS Provisioning and Configuration 4 9 8 7 6 5 1 2 3 Containerization Load Balancing and Routing Health Management Scaling Services Log Aggregation and Metrics Security Role Management
  9. 9. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Blue/Green Deployment 9 1 2 3 4 BlueCF Router app.example.com Blue Green CF Router app.example.com app-new.example.com Blue Green CF Router app-new.example.com app.example.com app.example.com Blue Green CF Router app.example.com
  10. 10. Cloud Foundry Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Continuous Deployment Demonstration Flow 10 Public CloudPrivate CloudDevelopers IDE Deploy Job Deploy Job cf push cf push Organization Dev Test Production http://maps-dev.piv.io Organization Dev Test Production http://maps-dev.cfapps.io Pivotal Web Services
  11. 11. Demo Unless otherwise indicated, these slides are 
 © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http:// creativecommons.org/licenses/by-nc/3.0/ Continuous Delivery with Cloud Foundry
  12. 12. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Best Practices/Lessons Learned ! Hash commits and Jenkin build numbers for versioning and easy identification ! Canonical route names for easy of use and external access for users ! If applicable use the Cloudbees Jenkins plugin ! SCM for configuration details ! Continuous Delivery design should account for platform portability and scale 12
  13. 13. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Future Designs and Topics ! Jenkins workflows • Asynchronous pipelines, specifically check points ! Orchestration of micro services ! On-premise cloud scale of Jenkins on Cloud Foundry ! CF plugins, auto-pilot (Alternative to blue-green deployment) • http://plugins.cloudfoundry.org 13
  14. 14. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 14 Learn More. Stay Connected. ! Review reference material @ • https://github.com/omearaj/App-Pipeline ! Start building CD pipelines using Pivotal Web Services • https://console.run.pivotal.io/register • http://docs.run.pivotal.io/starting/ Twitter: twitter.com/springcentral YouTube: spring.io/video LinkedIn: spring.io/linkedin Google Plus: spring.io/gplus

×