Day22 - 90daysofdevops : Getting Started with Jenkins (CI/CD) Tool??

Day22 - 90daysofdevops : Getting Started with Jenkins (CI/CD) Tool??

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:

  • Increased productivity: Jenkins can help to automate many of the manual tasks involved in software development, which can free up developers to focus on more creative work.
  • Improved quality: Jenkins can help to improve the quality of software by automating the process of testing.
  • Reduced risk: Jenkins can help to reduce the risk of deploying buggy software by automating the process of deploying software.
  • Increased agility: Jenkins can help to increase the agility of a development team by automating the process of releasing new software.

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:

  • Integration with version control systems
  • Deployment to cloud-based platforms
  • Static code analysis
  • Performance testing


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

https://www.jenkins.io/doc/book/installing/windows/

https://www.jenkins.io/doc/book/installing/linux/

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






要查看或添加评论,请登录

Prakash Bohara的更多文章

社区洞察

其他会员也浏览了