0

I started using Jenkins 2.73.1 on Windows 7. I also have Apache Maven 3.5.0 installed.

My project build gives me the error " 'mvn' is not recognized as an internal or external command".

After searching online, under Manage Jenkins and Sytem Configuration, there is a Maven Installation section that could be filled, however, I do not see this part when I go to the Configuration System page.

Why is this part missing & how can I resolve this issue?

ikask
  • 318
  • 2
  • 11
  • 23
  • Are you typing `'mvn'` and not `mvn`? What is the command you're trying to execute? – Naman Sep 20 '17 at 14:12
  • 1
    Make sure the path where you installed Maven 's bin folder is in your environment variable PATH if not already. – Anon Sep 20 '17 at 14:14
  • Do you have [jenkins maven plugin](https://wiki.jenkins.io/display/JENKINS/Maven+Project+Plugin) installed? – Rishikesh Darandale Sep 20 '17 at 14:20
  • Please [refer](https://stackoverflow.com/questions/37391778/maven-installation-settings-not-showing-in-jenkins) to configure the maven. – Rishikesh Darandale Sep 20 '17 at 14:27
  • i used mvn, path is defined for bin location, i believe plugin is installed by default recommended install....i found it Rishikesh..the page was moved to global tools section. thanks all. – ikask Sep 20 '17 at 15:39

0 Answers0