From the course: Automating Kubernetes with GitOps
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Getting started with Jenkins - Kubernetes Tutorial
From the course: Automating Kubernetes with GitOps
Getting started with Jenkins
- So one very common way to do CI/CD is Jenkins. Why Jenkins? Well, Jenkins is software that makes it easy to build pipelines. It provides an automated solution that allows you to shape all stages using different steps using the Git repository as input or anything else if you want. Using Jenkins is just a choice. There are other ways to perform GitHub CI/CD instead of Jenkins and a part of the other ways, there's also other solutions available like AWS CodePipeline or GitLab CI or TeamCity and more. Now Jenkins is using the job and the job in Jenkins represents a pipeline. Jenkins uses the Jenkins file to define the jobs and for easy access in a GitOps environments, Jenkins files are stored in Git repositories. In Jenkins, there's agents as well. Different agents are available. You don't have to call a specific agent to run generic commands in a Jenkins pipeline. Make sure that commands that are needed in the Jenkins files are installed on the Jenkins host. So if you want to run…