Day 22- Getting Started with Jenkins ๐Ÿ˜ƒ  (Dec 18, 2023)

Day 22- Getting Started with Jenkins ๐Ÿ˜ƒ (Dec 18, 2023)


2 min read

Understanding Jenkins

What is Jenkins? Jenkins is an open-source CI/CD automation tool written in Java. It acts as a server for building, testing, and deploying software through pipelines. Its extensibility through plugins makes it a versatile choice in the DevOps landscape.

The Necessity of Jenkins In a world surrounded by digital solutions, Jenkins addresses the demand for automation. It empowers developers to automate tasks, fostering innovation over manual intervention. Jenkins' plugin ecosystem facilitates seamless integration with various DevOps tools, enhancing its capabilities.

Tasks for the Day

1. Understanding Jenkins: A Personal Perspective

Answer: Jenkins, to me, is the engine driving the future of software development. It transcends being just a tool; it's a catalyst for efficiency and innovation. Its role in automating mundane tasks allows developers to focus on creating value. Jenkins, with its Java foundation, becomes a reliable companion in the journey towards continuous integration and delivery.

2. Creating a Freestyle Pipeline: Saying Hello to Jenkins

Answer: Creating a freestyle pipeline in Jenkins is an exciting hands-on experience. Here's a simple task to print "Hello World!!" using Jenkins:

  1. Log in to Jenkins.

  2. Click on "New Item" to create a new project.

  3. Choose "Freestyle project" and give it a name.

  4. In the project configuration:

    • Under "Build," click "Add build step" and choose "Execute shell" (for Linux) or "Execute Windows batch command" (for Windows).

    • In the command box, type echo "Hello World!!".

  5. Save the configuration.

Now, run your pipeline, and witness Jenkins in action, printing the cheerful "Hello World!!" message.