Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven installation settings not showing in Jenkins

Tags:

I have just installed Jenkins 2.6 (as a fresh install) but I can't seem to find the Maven installation options. Previously I would just be able to go to Jenkins configuration and in the Maven section there would be an option for MAVEN_HOME and to install Maven automatically. However this doesn't appear to be present for me.

I have the Maven integration plugin installed. How can I get these to show?

like image 234
thewire247 Avatar asked May 23 '16 13:05

thewire247


People also ask

Where is Jenkins Maven settings?

In the Jenkins dashboard (Home screen), click Manage Jenkins from the left-hand side menu. Then, click on 'Configure System' from the right hand side. In the Configure system screen, scroll down till you see the Maven section and then click on the 'Add Maven' button.

Which maven plugin Jenkins install?

The Maven Plugin is a plugin that provides the capabilities to configure, build, and run Maven-based projects in Jenkins. This is a must pre-requisite for the integration of Maven with Jenkins.

How do I run maven on Jenkins?

In this article, we see how to execute maven project using jenkins. Scroll down to 'Build' option. Click on 'Add Build Step' and choose the value 'Invoke top-level Maven targets' from the drop down list. We have created a new project 'MavenProject' with the configuration to execute Maven Project using Jenkins.


1 Answers

Since Jenkins 2.x you can find all the tool configurations (Maven, Ant, Gradle and even the JDK) under the "Global Tools" entry in Jenkins administration (Manage Jenkins).

like image 74
Omri Spector Avatar answered Oct 24 '22 14:10

Omri Spector