Solved

how to let jenkins recognize where maven is located

Posted on 2016-08-24
2
470 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
2 Comments
 
LVL 18

Accepted Solution

by:
xtermie earned 500 total points
ID: 41771602
0
 

Author Closing Comment

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

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

You can provide a virtual interface for remote stakeholders in a SWOT analysis through a Google Drawing template. By making real time viewing and collaboration possible, your team can build a stronger product.
Communication between departments might not happen in two different languages, but they do exist in two different worlds. With different targets and performance goals the same phrase often means something completely different to each party. Learn ho…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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