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
- Log in to post comments