Day 22 Task: Getting Started with Jenkins

Day 22 Task: Getting Started with Jenkins

Elevating Software Development: The Crucial Role of Jenkins in CI/CD Automation

🔶 What is Jenkins?

  • Jenkins is an open-source continuous integration-continuous delivery and deployment (CI/CD) automation software DevOps tool written in the Java programming language. It is used to implement CI/CD workflows, called pipelines.

  • Jenkins is a tool that is used for automation, and it is an open-source server that allows all the developers to build, test and deploy software. It works or runs on Java as it is written in Java. By using Jenkins we can make a continuous integration of projects(jobs) or end-to-endpoint automation.

  • Jenkins achieves Continuous Integration with the help of plugins. Plugins allow the integration of Various DevOps stages. If you want to integrate a particular tool, you need to install the plugins for that tool. For example Git, Maven 2 project, Amazon EC2, HTML publisher etc.

Let us do discuss the necessity of this tool before going ahead to the procedural part for installation:

  • Nowadays, humans are becoming lazy😴 day by day so even having digital screens and just one click button in front of us then also needs some automation.

  • Here, I’m referring to that part of automation where we need not have to look upon a process(here called a job) for completion and after it do another job. For that, we have Jenkins with us.

🔶 Task 1: What you understood in Jenkin, write a small article in your own words (Don't copy from Internet Directly).

Jenkins is an open-source automation server commonly used for building, testing, and deploying software projects. It supports continuous integration and continuous delivery (CI/CD) pipelines, helping developers automate various stages of the software development lifecycle. Jenkins allows the creation of jobs that automate tasks like code compilation, testing, artifact generation, and deployment. Its extensible nature through plugins makes it a versatile tool for automating software development processes.

  1. Create an instance for a remote Jenkins server.

  2. Install Jenkins on Ubuntu Instance

  3. Create a New Job:

    • Log in to your Jenkins dashboard.

    • Click on "New Item" to create a new job.

    • Enter a name for the job (e.g., "JenkinsHelloWorldPipeline").

    • Select "Freestyle project" and click "OK."

  4. Configure the Build Step:

    • In the job configuration page, scroll down to the "Build" section.

    • Click on the "Add build step" dropdown and select "Execute shell."

  5. Enter the Command
    In the "Command" field, enter the command to print "Hello World!!".

  6. Save and Run:

    • Click "Save" to save the job configuration.

    • On the job dashboard, click "Build Now" to trigger a build.

In conclusion, Jenkins is a pivotal automation server driving efficient software development. Its CI/CD capabilities streamline processes, boost code quality, and foster collaboration. Customizable via plugins, Jenkins is a crucial tool for DevOps, enhancing automation and software delivery practices.

Stay in the loop with my latest insights and articles on cloud ☁️ and DevOps ♾️ by following me on Hashnode, LinkedIn (https://www.linkedin.com/in/chandreshpatle28/), and GitHub (https://github.com/Chandreshpatle28).

Thank you for reading! Your support means the world to me. Let's keep learning, growing, and making a positive impact in the tech world together.

#Git #Linux Devops #Devopscommunity #90daysofdevopschallenge #python #docker #Jenkins

Did you find this article valuable?

Support Chandresh Patle's Blog by becoming a sponsor. Any amount is appreciated!