Email: info@zenconix.com

Create simple jobs in Jenkins

Published on: 12/28/20 10:27 AM

Category:DevOps Jenkins Tags: , ,

In this post, we are going to see how to create jobs in Jenkins.

If you are coming here at first time, I recommend to go to my previous post where we have explained about how to have initial setup for Jenkins in link below.

Now, lets get started to create job in Jenkins

Give some name to project and click on “Freestyle Project” and hit OK button

You can add some description over here

Scroll down and in Build Section, select “Execute windows batch command” from Add build step drowndown

inside text area, write command as ipconfig

Please note: I am on windows platform so I have selected windows batch command , if you are on linux or mac machine, then select “Execute shell” here also ipconfig command will not work on linux or mac machine

Click on save and our first job is ready

to run this job click on “Build Now” button

Inside build history, we can see history of our jobs

Click on #1 to see its details, there you can see Build information, now click on “Console Output” to see output of our job

and you can see output of our job here , all information of ipconfig listed over here

In upcoming posts we will see more details about create jobs in jenkins


Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Send email by Jenkins

In this post, we are going to take a look on how to setup basic email configuration for Jenkins and send mail if build job fails. First and formost, make sure, you have installed some email plugin so that it will allow you to configure email setup. You can install any email extension plugin example […]

Understand build triggers in Jenkins

Hello All, Before getting started to understand build triggers in Jenkins, it is highly recommended to see previous post about Jenkins on our blog so that you will have good idea about Jenkins and will help to understand this post. Lets get started, in previous post, we have seen how to create simple job in […]

Create Parameterized job in Jenkins

In last post, we have seen how to create simple job in Jenkins. Now, in this post we will take a look on how can we create parameterized job in Jenkins. Lets start with creating new project. Click on new item, and create freestyle project as below and hit OK button From general setting, select […]