Jenkins

Jenkins - Maven Setup

Jenkins - Maven Setup

Learn about the Maven Setup in this Jenkins tutorial:

Step 1: Downloading and Setting Up Maven

It can be done from the official website for maven is Apache Maven

Navigate to the Files area of the website and save the URL to the Binary.zip file.

Once the file has been downloaded, extract it to the appropriate application location. The maven files will be stored under E:Appsapache-maven-3.3.3 for this purpose.

Step two: Configuring Jenkins and Maven

Click Manage Jenkins from the left-hand side menu in the Jenkins dashboard (Home screen).

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

 

Scroll down until you see the Maven area in the Configure system screen, then select the 'Add Maven' button.

Uncheck the box next to 'Install automatically.'

Add any name for the setting and the MAVEN HOME location.

Then, at the bottom of the screen, click the 'Save' button.

You can now use the 'Maven project' option to create a job. Click the New Item button in the Jenkins dashboard.