Day 23: Jenkins Freestyle Project for DevOps Engineers.

  1. What Is a Build Job?

A Build Job in Jenkins is like a set of instructions for automating specific tasks during application development. It includes steps such as gathering ingredients (dependencies), assembling components (compiling), storing results (archiving), quality checking (testing), and deploying the application.

Jenkins offers various types of build jobs, each tailored for different requirements. It's like having different modes of operation (like manual, automatic, or semi-automatic) to streamline the development process.

  1. What is Freestyle Projects ?

A Freestyle Project in Jenkins is a versatile project type that enables you to customize and configure various build, test, and deployment tasks according to your project's requirements. With a Freestyle Project, you can:

  1. Define Build Steps: Specify the sequence of actions needed to build your software, such as compiling code, running tests, or packaging artifacts.

  2. Set Build Triggers: Configure conditions that trigger the project to build automatically, such as changes to the source code repository or a predefined schedule.

  3. Manage Build Environment: Customize the environment in which the build process runs, including specifying build agents, setting environment variables, or injecting build parameters.

  4. Integrate with Plugins: Enhance functionality by integrating with Jenkins plugins that provide additional features like source code management, notifications, or post-build actions.

  5. Publish Build Artifacts: Archive build artifacts or reports generated during the build process, making them accessible for further analysis or deployment.

Creating a Jenkins Hello-World-1 using Freestyle Project Configuration


1. Click on New Item

Click on New Item

2. Type "Hello-World-1"

Type "Hello-World-1"

3. Click on Freestyle project…

Click on Freestyle project…

4. Click on OK

Click on OK

5. Click on Add build step

Click on Add build step

6. Click on Execute shell

Click on Execute shell

7. Click on

Click on

8. Type "o World by Yash"

Type "o World by Yash"

9. Click on Apply

Click on Apply

10. Click on Save

Click on Save

11. Click on Build Now

Click on Build Now

12. Click on #1

Click on #1

13. Click on Console Output

Click on Console Output

14. Right click on Started by user Yashraj singh sisodiya…

Right click on Started by user Yashraj singh sisodiya…

15. Click on Success…

Click on Success…