0 votes
in Jenkins by

Step 1: Downloading and Setting Up Maven

The official website for maven is Apache Maven. If you click the given link, you can get the home page of the maven official website as shown below.

Maven Setup

While browsing to the site, go to the Files section and download the link to the Binary.zip file.

Maven Download

Once the file is downloaded, extract the files to the relevant application folder. For this purpose, the maven files will be placed in E:\Apps\apache-maven-3.3.3.

Step 2: Setting up Jenkins and Maven

In the Jenkins dashboard (Home screen), click Manage Jenkins from the left-hand side menu.

Setting Maven Jenkins

Then, click on ‘Configure System’ from the right hand side.

Manage Jenkins1Manage Jenkins2

In the Configure system screen, scroll down till you see the Maven section and then click on the ‘Add Maven’ button.

Add Maven

Uncheck the ‘Install automatically’ option.

Add any name for the setting and the location of the MAVEN_HOME.

Then, click on the ‘Save’ button at the end of the screen.

Configure Maven

You can now create a job with the ‘Maven project’ option. In the Jenkins dashboard, click the New Item option.

Jenkins Dashboard1Jenkins Dashboard2

Related questions

0 votes
asked Sep 8, 2019 in Jenkins by ivor2019
0 votes
asked Sep 8, 2019 in Jenkins by ivor2019
...