GitHub Repo: https://github.com/iQuantC/Simple_NodeJS_App/tree/main Description: ๐ **Jenkins & GitHub Integration for CI/CD Pipelines | Complete Guide** ๐ง In this video, weโll walk you through the step-by-step process of integrating **Jenkins** and **GitHub** to automate your CI/CD pipelines, ensuring seamless development workflows. Whether you're new to CI/CD or looking to enhance your DevOps skills, this tutorial covers everything you need to know to set up a powerful integration between Jenkins and GitHub! ### ๐ **What Youโll Learn:** 1. **Introduction to CI/CD** - A brief overview of Continuous Integration and Continuous Deployment concepts. 2. **Setting up Jenkins** - How to install and configure Jenkins for automated builds. This hands-on tutorial is designed for developers, DevOps engineers, and anyone interested in creating fast, reliable CI/CD pipelines to streamline software delivery. By the end of the video, you'll be able to automate your development process, speeding up your releases with confidence! ๐ป๐ฏ Donโt forget to **LIKE** ๐, **SUBSCRIBE** ๐, and hit the notification bell to stay updated with the latest DevOps tutorials! ๐ **Related Resources:** - Jenkins Documentation: [jenkins.io](https://jenkins.io) - GitHub: [github.com](https://github.com) - Docker: [docker.com](https://docker.com) #Jenkins #GitHub #CICD #DevOps #JenkinsPipeline #ContinuousIntegration #Automation #Webhooks #Docker #Deployment #SoftwareEngineering #CI_CD #JenkinsTutorial Disclaimer: Video is made for educational purposes Follow Us: GitHub: https://github.com/iQuantC Instagram: https://www.instagram.com/iquantconsult/ Happy DevOps'ing! ๐
Full Transcript
Hello friends welcome back to my channel in today's video we're going to look at how to do an integration between Jenkins and GitHub I'm going to use Docker image for Jenkins to spin up a Jenkins instance so just make sure that Docker is installed and that Docker is currently running all right now when I do Docker PS I only have one instance running which is a son Cube server so I'll go to dockerhub search for Jenkins this is Jenkins click on it but this is the current image that is available now over here you can see some use cases copy this and modify it so the image let's do Jenkins Jenkins LTS can see that here for the latest version so let's use that instead okay run doer PS I should see my Jenkins container up that's open on P 8080 so I do Docker yes let's grab the container ID loal logs DF you see the Jenkins container is up now this is the initial password that we will use when we load a web page okay so with a new web page you need a IP address course if you're working on a cloud instance make sure that what 880 is allowed on inbound rules okay so we need a initial password which is this copy it paste it in here and continue install suggested plugins do this okay finish and continue so that is our jins dashboard to integrate Jenkins with GitHub by the way you have a GitHub account here with the rippo go to manage Jenkins plugins now for the install plugins you search G you should see that get plugins are installed already so we don't need to install anymore let's go back so on our GitHub repo go to your account go to settings scroll down to developer settings personal access token go with classic now over here you can create your GitHub token so just click on generate token click classic and give it a name okay all right so I'll click here classic token give it a name if Jenkins gets talken okay I leave it as 30 days I'll just select repo and now select admin rer hook of course you can select more generate token now this will be the token copy this now you will not see this token after closing so you need to copy it and save it somewhere safe let's go back to the Jenkins manage Jenkins credentials logo I see there are no credentials here now you can either do it here or whilst you setting up a job let's just create create a job okay let's say a new item I'll give it um it's a simple NOS app just a free style job for now okay get now over here you need to produce so this is the repo go to code select the https phone link and in here paste it there now you remember we didn't do the credentials earlier so we will do it right as we trying to um build a job so click add Jenkins and here you use username with password okay Global and our username for the GitHub account can see it here is icon C this way and then the password you use the token that we just created instead of your actual password from the GitHub account that has been duplicated so you use that and then let's call this GitHub red you T credentials add and save it now when you click here you should see it's selected now from our GitHub repo the code that we using it's in the branch main so this Branch should be Main looks good not using any triggers for now so let's add a build step okay let's say you want to see the host name for serve apply save good now that's currently building can click on this to see the console output see that it's green check mark so it's successful so over here you can see that it did check out uh GitHub repo okay it cloned it using the GitHub credit that's the name we gave it it was all a success now the command I gave it was host name and that is the host name okay so back on our dashboard that was the job and it was successfully built you go to workspace you see everything there and you see that the code in here is exactly the same as what's in here in our GitHub so it's fully integrated currently thanks for joining me on this video please like comment and subscribe to my channel for more videos like this and I'll see you in the next one
Original Description
GitHub Repo: https://github.com/iQuantC/Simple_NodeJS_App/tree/main
Description:
๐ **Jenkins & GitHub Integration for CI/CD Pipelines | Complete Guide** ๐ง
In this video, weโll walk you through the step-by-step process of integrating **Jenkins** and **GitHub** to automate your CI/CD pipelines, ensuring seamless development workflows. Whether you're new to CI/CD or looking to enhance your DevOps skills, this tutorial covers everything you need to know to set up a powerful integration between Jenkins and GitHub!
### ๐ **What Youโll Learn:**
1. **Introduction to CI/CD** - A brief overview of Continuous Integration and Continuous Deployment concepts.
2. **Setting up Jenkins** - How to install and configure Jenkins for automated builds.
This hands-on tutorial is designed for developers, DevOps engineers, and anyone interested in creating fast, reliable CI/CD pipelines to streamline software delivery. By the end of the video, you'll be able to automate your development process, speeding up your releases with confidence! ๐ป๐ฏ
Donโt forget to **LIKE** ๐, **SUBSCRIBE** ๐, and hit the notification bell to stay updated with the latest DevOps tutorials!
๐ **Related Resources:**
- Jenkins Documentation: [jenkins.io](https://jenkins.io)
- GitHub: [github.com](https://github.com)
- Docker: [docker.com](https://docker.com)
#Jenkins #GitHub #CICD #DevOps #JenkinsPipeline #ContinuousIntegration #Automation #Webhooks #Docker #Deployment #SoftwareEngineering #CI_CD #JenkinsTutorial
Disclaimer: Video is made for educational purposes
Follow Us:
GitHub: https://github.com/iQuantC
Instagram: https://www.instagram.com/iquantconsult/
Happy DevOps'ing! ๐