atxman
asked on
how to let jenkins recognize where maven is located
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\wo rkspace\Te st1
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
10:42:22 Building in workspace C:\Users\user1\.jenkins\wo
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER