Monday, April 2, 2018

Configure Maven setup on Jenkins-automated Maven installation

How to configure Maven setup on Jenkins?

Jenkins provide great out-of-the-box support for Maven. It provides several options when it comes to configuring Maven. If you already have Maven installed on your machine, you can simply provide the path in the MAVEN_HOME field.

Alternatively, you can install a Maven distribution by extracting a zip file located in a shared directory or execute a home-rolled installation script.


How to setup automated Maven installation on Jenkins?

You can let Jenkins do all the hard work and download Maven for you. To choose this option, just click the install automatically check box. 

Jenkins will download and install Maven from the Apache website the first time a build job needs it.

Just choose the Maven version you want to install and Jenkins will do the rest. You will also need to give a name for your Maven version. So that you can refer to it in your build jobs.


<<Previous             Next >>

Top Jenkins interview questions for beginners

You must prepare in 2018.
DevOps-Continuous Integration- Jenkins Basics for Beginners
Why we need Jenkins?
Manage Jenkins
Jenkins build job-Build a free-style software project-testing on multiple environment
Notification set-up-email-sms in Jenkins
Source Code Management section-build jobs in Jenkins
Artifact archive-Status Ball indication of Jenkins dashboard
Trend Graph-Javadocs-Jenkins reporting
Code coverage metrics-build server for Jenkins
Slave machine-multiple build machines

No comments:

Post a Comment