Jenkins tool with a project

Understand what Jenkins is and perform a freestyle project on Jenkins.

Jenkins tool with a project

What is Jenkins?

Jenkins is an open-source automation server that helps to automate parts of the software development process such as build, test, and deployment. It is widely used in DevOps environments for continuous integration and continuous delivery (CI/CD) to streamline software delivery pipelines.

In a typical DevOps workflow, Jenkins is used to manage source code repositories and trigger automated builds and tests on code changes. It integrates with various tools and technologies such as Git, Docker, Kubernetes, and AWS to create an end-to-end pipeline that automates the entire software delivery process.

Jenkins supports various programming languages, including Java, Python, Ruby, and many more, making it a versatile tool to use in different technology stacks. It also provides a robust plugin ecosystem, enabling users to customize their workflows and add functionalities according to their requirements.

Overall, Jenkins is an essential tool for modern software development teams that enables continuous integration and deployment, helps to maintain code quality, and increases agility and productivity.

A freestyle pipeline to print "Hello World!!"

This task requires Jenkins and if you don't have it installed on your system yet then refer to my blog to install Jenkins here.

  1. Open the Jenkins portal and go to the dashboard.

  2. Click on "Create a job".

  3. Give a name to your project, choose "Freestyle project", and click on OK.

  4. Give a description of your project and it is optional.

  5. Leave everything as it is and scroll down to build steps. Click on "Add build steps" and choose "Execute shell".

  6. Write the command echo "Hello World!!" and click on save.

  7. After saving, you will be redirected to another page where on the left side you will see a "Build Now" option and click on that.

  8. Now in the builds section, you will get a list with the builds of the projects in green or red color. Click on that

  9. After that click on "Console output" to see our printed message.


That is all for Jenkins and the freestyle Jenkins project. If you like the blog, make sure you give a like, have any queries? Do comment and share the blog.

You can also subscribe to the newsletter for updates on my blogs.

Follow me:

LinkedIn: https://www.linkedin.com/in/sonineelp