Day22 of #90DaysOfDevOps Challenge

Day22 of #90DaysOfDevOps Challenge

❄️Jenkins

  • Jenkins is an open-source tool that helps in creating pipelines and automating the software development lifecycle stages.
  • It is a CI-CD tool with hundreds of plugins and allows integration with the continuous integration and continuous delivery toolchain.
  • The available plugins span five areas: platforms, UI, administration, source code management, and most frequently, build management.
  • It is built with Java and is portable to all the major platforms. And Java is the prerequisite to installing Jenkins.

🔹Getting Started with Jenkins:

  1. Installation: Jenkins can be installed on various operating systems, including Windows, macOS, and Linux. You can install it on a dedicated server, in the cloud, or even run it locally for experimentation.
  2. Configuration: Once installed, Jenkins can be accessed through a web browser, where you can configure system settings, manage users, and define security policies.
  3. Creating Jobs: Jenkins jobs are at the heart of automation. You can create jobs using a web-based interface or by defining them in code using Jenkinsfile, a domain-specific language (DSL). Jobs can be configured to trigger builds based on different events, such as code changes or scheduled intervals.
  4. Integrations and Plugins: Jenkins offers a wide range of plugins that can be installed to extend its capabilities. Explore the Jenkins Plugin Index to find and install plugins that suit your project requirements.
  5. Monitoring and Scaling: As your usage of Jenkins grows, it is essential to monitor its performance and scale it to meet demand. Monitoring tools like Prometheus and Grafana can be integrated with Jenkins to gather performance metrics and ensure optimal performance.


❄️Task:

Create a freestyle pipeline to print "Hello World!!"

Step 1 - Create a New Item

No alt text provided for this image

Step 2 - Choose Freestyle Project and provide a name.

No alt text provided for this image

Step 3 - Provide some description. (Optional)

No alt text provided for this image

Step 4 - Add a build step - Execute shell.

No alt text provided for this image

Step 5 - Write the script and Save the Job -

echo "Hello World!"        
No alt text provided for this image

Step 6 - Now click on Build Now to run the Job.

No alt text provided for this image

Step 7 - Navigate to Console output to see the result.

No alt text provided for this image

"Hello World!" is printed through the Jenkins Job.


Thank you for reading! 📘

To view or add a comment, sign in

More articles by Aishwarya keshri

  • Day26 of #90DaysOfDevOps Challenge

    Jenkins Pipeline: Jenkins Pipeline is a suite of plugins that supports implementing and integrating continuous delivery…

  • Day24 of #90DaysOfDevOps Challenge

    ❄️Project: Containerise and deploy a node.js application using Jenkins Job.

  • Day23 of #90DaysOfDevOps Challenge

    CI/CD Continuous integration and continuous delivery help in automating the software development lifecycle stages…

    2 Comments
  • Day21 of #90DaysOfDevOps Challenge

    Important interview questions and Answers for Docker: 1. What is the difference between an Image, Container and Engine?…

  • Day20 of #90DaysOfDevOps Challenge

    Docker Cheat Sheet: 🔹Docker images- Show all locally stored top-level images: docker images Pull an image from a…

  • Day 19 of #90DaysOfDevOps Challenge

    Docker Volumes When we are working on docker, the data we store gets lost when the container is destroyed. So, to…

    2 Comments
  • Day 18 of #90DaysOf DevOps Challenge

    ❄Docker Compose Using docker commands, we can only run and manage a single container at a time, but there can be…

  • Day17 of #90DaysOfDevOps Challenge

    Dockerfile: Instead of manually creating docker images by running multiple commands one by one, we can write a script…

    1 Comment
  • Day 16 of #90DaysOfDevOps Challenge

    ❄Docker: Docker is a containerization tool that helps us create a lightweight container with all the required packages…

  • Day15 of #90DaysOfDevOps Challenge

    ❄Python Libraries: The collection of modules used in Python while writing different programs is known as libraries…

Others also viewed

Explore content categories