Maven Project – Create and Build Job

Share via:

In this article,we will see Create and Build Job in Jenkins.

Steps to Follow

  1. Create a maven Job “kt-mavenjob”.
  2. Build job “kt-mavenjob”.
  3. Verify Console Output of job “Kt-mavenjob”

1. Create a maven Job “kt-mavenjob”

Click on New Item to create a new job.

Enter an Item name “kt-mavenjob” and select “Maven Project” and click on OK.

Go to Repository “time-tracker” by using below link.

Copy the Repository “time-tracker” URL.

Go to Source Code Management,
select Git and paste the Repository “time-tracker” URL which was copied.

Go to Build,
Enter maven command in the Goals and Options field “clean package” and click on Save.

2. Build job “kt-mavenjob”

Click on Build Now.

The job is going to building, It may take some time to complete.

We can see the green ball which means the job is build successfully.

3. Verify Console Output of job “Kt-mavenjob”

Click on green ball for seeing console output.

we can see the console output.

Console Output

Thank you for giving your valuable time to read the above information.
Follow us on 
Facebook Page KTexperts
Linkedin Page : KT EXPERTS

Follow Me
Ramesh’s Linkedin :


Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Add Comment