1 / 29

CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps Tutorial | Edureka

** DevOps Training: https://www.edureka.co/devops ** <br>This CI CD Pipeline tutorial explains the concepts of Continuous Integration, Continuous Delivery & Deployment, its benefits, and its Tools. Below are the topics covered in the video: <br><br>1. What is DevOps <br>2. What are CI and CD? <br>3. Pipelines: What are they? <br>4. Continuous Delivery and Continuous Deployment <br>5. Role of Jenkins <br>6. Role of Docker <br>7. Hands-On u2013 Creating CI CD Pipeline Using Jenkins and Docker <br><br>Check our complete DevOps playlist here (includes all the videos mentioned in the video): http://goo.gl/O2vo13

EdurekaIN
Download Presentation

CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps Tutorial | Edureka

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agenda Traditional Integration and its Problems Hands-On What is Continuous Integration Jenkins Plugins Jenkins – The Ultimate CI Tool Benefits of Continuous Integration Requirements for CI System Continuous Integration www.edureka.co/devops DevOps Certification Training

  2. Agenda What is DevOps Hands-On What are CI and CD? Role of Docker Role of Jenkins Pipelines: What are they? Continuous Delivery and Continuous Deployment CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  3. What is DevOps? DevOps is a software development approach which involves Continuous Development, Continuous testing, Continuous Integration, Continuous Deployment and Continuous Monitoring throughout its development lifecycle. CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  4. DevOps Stages CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  5. Continuous Integration Jenkins Server Build Compile Code Review Commit code to a shared repository Unit Testing Integration Testing Package(WAR, JAR etc) CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  6. What is CI and CD? CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  7. Continuous Integration Jenkins Server Build Compile Code Review Commit code to a shared repository Unit Testing Integration Testing Package(WAR, JAR etc) CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  8. What is CI and CD? CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  9. What is CI and CD? CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  10. What is CI and CD? CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  11. What is CI and CD? CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  12. What is CI and CD? CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  13. What is CI and CD? CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  14. Continuous Integration Example CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  15. Have to create image on this what is then the CI. Since there are various developers say just take an example of a team which has five developers and they are building a website which you can say is a shopping website. so, the shopping website can have various avenues like one of them is the landing page where you show all the products. there can be another page which shows the user details and the past orders and things like that. Another page can be the shopping cart which so whatever products the person has added to the cart. Another page which is the “checkout page” where the person will pay and then make the purchase. so, there are various avenues in a software. These can be called as features of the software. So, when you have multiple features, then you have to combine those features and merge them into a single version control system where you merge the various feature branches of the code and make a single pool of code which can be now comprising all the features from various branches committed by the developers and then you can build it as a product and move on to testing.Now when you merge the code and you build the code to get a single unit saw of the software.That phase is false integration. CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  16. Have to create image on this Integration means putting all the code together, so we are putting together code from of the contributing developers and then we are merging them and building it as a whole. So that phase is called the continuous integration phase. Why do we call it continuous because as I said in DevOps we use various tools to automate the pipeline. Okay in contrast to the traditional practices what a traditional software company does manually people write the code and manually put it somewhere then the manually merge it and the manual abilities in build commands and then a tester manually tests it and then it manually gets deployed in a server by a system admin and then again there is a series of sanity test manually done again by a QA and then it manually is deployed to the production what do you see here in every phase there is a manually done thing right so that is how things are done in traditional way. In DevOps we transform this to do everything in an automatic manner so as soon as a person commits the code from the repository, it automatically moves and merges itself with the other codes which are present which are committed at the same time and then it triggers off a build reaction which will build or compile the code and then it triggers the test. Then it triggers the deploy auto test and so on. so the entire thing is triggered step by step automatically so that is what we are going to achieve. you're going to create an automated pipeline so why is it known as continuous integration as I said this version control and build phase are called the integration phase now since this is completely automated it happens continuously like as soon as the person commits code in a version control system it continually starts the merge process and it CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  17. Continuous Integration Jenkins Server Build Compile Code Review Commit code to a shared repository Unit Testing Integration Testing Package(WAR, JAR etc) CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  18. Continuous Delivery Jenkins Server Deploy the built application on test server for UAT (User Acceptance Test) Build Compile Code Review Commit code to a shared repository Unit Testing Integration Testing Package(WAR, JAR etc) www.edureka.co/devops DevOps Certification Training

  19. Pipelines And Continuous Deployment Jenkins Server Deploy the built application on test server for UAT (User Acceptance Test) Build Compile Code Review Commit code to a shared repository Unit Testing Integration Testing Deploy the built application on prod server Package(WAR, JAR etc) www.edureka.co/devops DevOps Certification Training

  20. Use-Case Copyright © 2017, edureka and/or its affiliates. All rights reserved.

  21. CHALLENGES ✓ Accelerate delivery of business applications while maintaining the highest quality and security standards. SOLUTION ✓ Used CloudBees Jenkins Platform to provide a stable, scalable CI infrastructure, repeatable build processes and manage CD pipelines from commit to deployment. automate RESULT ✓ 90% of pipeline automated ✓ Their Deployment frequency increased 1,300% ✓ Developers/Engineers development, not infrastructure ✓ Quality and Security ensured through repeatable processes focused on application

  22. Jenkins – The Ultimate CI Tool Jenkins is an open source automation tool written in Java with plugins built for Continuous Integration purpose. Plugins allows integration of various DevOps stages. CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  23. Jenkins - Its Importance CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  24. What is Docker? ✓ Docker file builds a Docker image and that image contains all the project's code ✓ You can run that image to create as many docker containers as you want ✓ Then this Image can be uploaded on Docker hub, from Docker hub any one can pull the image and build a container Staging Server Container Docker Image Docker File Docker Hub Project Code Docker Container Production Server Virtual Machine Container CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  25. Docker – Its Importance CI CD Pipeline www.edureka.co/devops DevOps Certification Training

  26. Hands-On Copyright © 2017, edureka and/or its affiliates. All rights reserved.

  27. Hands-On We will be building a CI/CD pipeline using Jenkins and Docker CI CD Pipeline www.edureka.co/devops DevOps Certification Training

More Related