Microservice Project
  • 🤓11 Microservice CICD Pipeline using Jenkins, EKS and CloudFormation
  • Installing Tools
  • 🤖Jenkins setup
    • Installing Plugins in jenkins
  • 🐳Docker Setup
  • 🏃‍♂️Continuous Integration with GitHub and Jenkins
  • 🏃‍♂️Continuous Deployment with EKS
    • Create Service Account, Role & Assign that role
  • 👷Project Structure & summary.
Powered by GitBook
On this page

🏃‍♂️Continuous Integration with GitHub and Jenkins

Every time your developer makes changes to the code in the Github Repository will you login to Jenkins and click "Build Now" all the time??

Previous🐳Docker SetupNext🏃‍♂️Continuous Deployment with EKS

Last updated 1 year ago

What if I say we can automate that too? ☺️ Let us do something so that if there is any change in the code Jenkins should detect it and Build a new file, pass it to ANSIBLE, which will create our container and move the file in it & BOOM!!! our application is live.

  1. Sign into your GitHub account and select your repository

  2. Go to settings option >> Choose >> click on Add Webhook (provide password, if asked)

  3. You will be asked to enter the Payload URL, you will get this from Jenkins.

    1. Login to Jenkins

      1. Goto pipeline >> Configure

      2. Pipeline Triggers>> copy the formate >> made the required changes

      1. Add webhook>> Paste the URL

    After putting the url scroll down and select on

    1. Add webhook

You have successfully created your webhooks Now go to your Depoyment Job and do these settings

THAT'S ALL!! We have successfully implemented Continuos Integration Let's Try it out my making some changes in the code.