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

Mon, 08/31/2020 - 00:35

Authored by

Tarun Goswami, works as a Technical Lead at the well-known IT services company. With Over 11+ years of experience in Quality Assurance, he writes engaging and informative blogs in his spare time.