Advertisement
Advertisement

More Related Content

Similar to CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps Tutorial | Edureka(20)

Advertisement
Advertisement

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

  1. www.edureka.co/devopsDevOps Certification Training Agenda Continuous Integration Traditional Integration and its Problems What is Continuous Integration Benefits of Continuous Integration Requirements for CI System Jenkins – The Ultimate CI Tool Hands-On Jenkins Plugins
  2. www.edureka.co/devopsDevOps Certification Training Agenda What is DevOps What are CI and CD? Pipelines: What are they? Continuous Delivery and Continuous Deployment Role of Jenkins Hands-On Role of Docker CI CD Pipeline
  3. www.edureka.co/devopsDevOps Certification Training 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
  4. www.edureka.co/devopsDevOps Certification Training DevOps Stages CI CD Pipeline
  5. www.edureka.co/devopsDevOps Certification Training Continuous Integration Build Compile Code Review Unit Testing Integration Testing Package(WAR, JAR etc) Commit code to a shared repository Jenkins Server CI CD Pipeline
  6. www.edureka.co/devopsDevOps Certification Training What is CI and CD? CI CD Pipeline
  7. www.edureka.co/devopsDevOps Certification Training Continuous Integration Build Compile Code Review Unit Testing Integration Testing Package(WAR, JAR etc) Commit code to a shared repository Jenkins Server CI CD Pipeline
  8. www.edureka.co/devopsDevOps Certification Training What is CI and CD? CI CD Pipeline
  9. www.edureka.co/devopsDevOps Certification Training What is CI and CD? CI CD Pipeline
  10. www.edureka.co/devopsDevOps Certification Training What is CI and CD? CI CD Pipeline
  11. www.edureka.co/devopsDevOps Certification Training What is CI and CD? CI CD Pipeline
  12. www.edureka.co/devopsDevOps Certification Training What is CI and CD? CI CD Pipeline
  13. www.edureka.co/devopsDevOps Certification Training What is CI and CD? CI CD Pipeline
  14. www.edureka.co/devopsDevOps Certification Training Continuous Integration Example CI CD Pipeline
  15. www.edureka.co/devopsDevOps Certification Training Have to create image on this CI CD Pipeline 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.
  16. www.edureka.co/devopsDevOps Certification Training Have to create image on this CI CD Pipeline 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
  17. www.edureka.co/devopsDevOps Certification Training Continuous Integration Build Compile Code Review Unit Testing Integration Testing Package(WAR, JAR etc) Commit code to a shared repository Jenkins Server CI CD Pipeline
  18. www.edureka.co/devopsDevOps Certification Training Continuous Delivery Build Compile Code Review Unit Testing Integration Testing Package(WAR, JAR etc) Commit code to a shared repository Jenkins Server Deploy the built application on test server for UAT (User Acceptance Test)
  19. www.edureka.co/devopsDevOps Certification Training Pipelines And Continuous Deployment Build Compile Code Review Unit Testing Integration Testing Package(WAR, JAR etc) Commit code to a shared repository Jenkins Server Deploy the built application on prod server Deploy the built application on test server for UAT (User Acceptance Test)
  20. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Use-Case
  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, automate repeatable build processes and manage CD pipelines from commit to deployment. RESULT ✓ 90% of pipeline automated ✓ Their Deployment frequency increased 1,300% ✓ Developers/Engineers focused on application development, not infrastructure ✓ Quality and Security ensured through repeatable processes
  22. www.edureka.co/devopsDevOps Certification Training 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
  23. www.edureka.co/devopsDevOps Certification Training Jenkins - Its Importance CI CD Pipeline
  24. www.edureka.co/devopsDevOps Certification Training What is Docker? Docker File Project Code Docker Image Docker Container Virtual Machine Docker Hub Production Server Staging Server Container Container ✓ 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 CI CD Pipeline
  25. www.edureka.co/devopsDevOps Certification Training Docker – Its Importance CI CD Pipeline
  26. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Hands-On
  27. www.edureka.co/devopsDevOps Certification Training Hands-On CI CD Pipeline We will be building a CI/CD pipeline using Jenkins and Docker
Advertisement