Skip to main content

Setup Jenkins for Maven Project

To create Maven Project in Jenkins first you need to install Maven Plugin and then you need to install maven from apache or yours local or any other medium. Follow below steps to integrate Maven with Jenkins:

Step 1: Go to Manage Jenkins -> Manage Plugins

Step 2: Click on Available

Step 3: Search for maven and click on Maven Integration and then install

Step 4: Wait till all gets successful 

Step 5: Navigate to Manage Jenkins -> Global Tools Configuration

Step 6: Click on Maven -> Maven Installation

Step 7: Select automatically to install specific version from apache otherwise you can specify path of maven in MAVEN_HOME 

Step 8: Now option is visible for creating maven project. Click on New Item -> Maven Project

Tags
Submitted by tgoswami on August 31, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.

About

At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.