1
votes

While executing a Jenkins job, I am getting this error message and the build fails.

FATAL: Cannot find executable from the chosen Maven installation "Maven-2.2.1"
Build step 'Invoke Top level Maven' marked build as failure

Please help me; what is the actual problem?

Thanks very much

2

2 Answers

0
votes

Jenkins misconfiguration. Contact your Jenkins administrator.

0
votes

If it runs on the slave you must install maven on the slave PC. I'm really not sure but I think that you also need to set the maven version in the Jenkins configuration.