Solved

how to let jenkins recognize where maven is located

Posted on 2016-08-24
2
116 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 17

Accepted Solution

by:
xtermie earned 500 total points
Comment Utility
0
 

Author Closing Comment

by:atxman
Comment Utility
Thanks that helped a lot
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

What’s the difference between Management and Project Management? Even though the same management principles of Planning, Organizing, Leading and Controlling apply to Project Management, the focus is quite different. Definition What’s a project? …
Transparency shows that a company is the kind of business that it wants people to think it is.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now