Day22 - 90daysofdevops : Getting Started with Jenkins (CI/CD) Tool??
Prakash Bohara
Immediate Joiner | #Engineer Devops ?? | MySQL | LINUX ??| Git/GitHub?? | AWS ? | DOCKER ??| KUBERNETES ?? | TERRAFORM ??? | JENKINS | ANSIBLE??| EKS/GKE
Jenkins is an open-source automation server that enables developers to seamlessly build, test, and deploy software projects. It is a popular choice for continuous integration (CI) and continuous delivery (CD), which are two important practices in modern software development.
What is CI/CD?
CI and CD are two complementary practices that help to automate the software development process. CI involves automating the process of building and testing software, while CD involves automating the process of deploying software to production.
Why use Jenkins?
There are many reasons to use Jenkins for CI/CD:
How does Jenkins work?
Jenkins works by creating and running pipelines. Pipelines are a series of steps that automate the process of building, testing, and deploying software. Jenkins can run pipelines automatically whenever code is changed, which helps to ensure that software is always up to date and bug-free.
Jenkins plugins
Jenkins is a highly extensible platform that can be customized to meet the needs of any development team. There are thousands of plugins available for Jenkins, which extend its functionality to include a wide range of features, such as:
Tasks:
1. What you understood in Jenkins, write a small article in your own words (Don't copy from Internet Directly)
Create a freestyle pipeline to print "Hello World!!
A freestyle pipeline is a type of continuous integration (CI) pipeline in Jenkins that allows you to define a sequence of tasks to be executed in a linear order. Freestyle pipelines are configured using a GUI-based interface, which makes them easy to use for beginners. However, they can become difficult to manage and maintain as pipelines become more complex.
STEP 1: Install Jenkins in Local Environment / EC2 instance / Azure VM
STEP 2: Once the Installation is done Login to Jenkins
Login to Jenkins In Local Environment: https://localhost:8080
Login to Jenkins In Cloud Environment: https://publicipaddress:8080
STEP3: Click on (New Item) to Create Freestyle Job
STEP4: Give the name of freestyle Job , Create pipeline