Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to let jenkins recognize where maven is located

Posted on 2016-08-24
2
Medium Priority
?
1,811 Views
Last Modified: 2016-09-08
I am new to Jenkins, I was requested to get jenkins running to run our maven projects. I have created a maven project on my jenkins installation but when I run a build I get the following error:

10:42:22 Building in workspace C:\Users\user1\.jenkins\workspace\Test1
10:42:22 ERROR: A Maven installation needs to be available for this project to be built.Either your server has no Maven installations defined, or the requested Maven version does not exist.
10:42:22 Finished: FAILURE

I do have maven installed on my system but I have not figured out where I need to configure maven in jenkins. The attached pics show my system config setup in jenkins and show no location where to point jenkins to where maven is installed. Any help would be greatly appreciated
JenkinsBuildConfig.png
JenkinsSysConfigMaven.png
0
Comment
Question by:atxman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
xtermie earned 2000 total points
ID: 41771602
0
 

Author Closing Comment

by:atxman
ID: 41789928
Thanks that helped a lot
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifiā€¦
Read about the ways of improving workplace communication.
Simple Linear Regression
Progress

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question