Thank you all, for taking time to look into this and for the suggestions. 1. It is freestyle job only. 2. Yes, I am able to run the same maven command(mvn test) from cmd window and projects runs fine. 3. Yes, I am using the local installation and MAVEN_HOME and path are configured correctly. 4. Vincent, You were right that ver 3.2.x has mvn.bat. So, I have downgraded the version to 3.2.x and configured all the required paths in env variable as well as in jenkins. But no luck. :(
Please find the screen shot of jenkins config and let me know if i am missing something there or need to update something else. Thanks. On Tuesday, 9 June 2015 21:49:14 UTC+5:30, shekhar sharma wrote: > > I have configured a maven project with Jenkins. But while doing build now > it is failing with the error attached in text file. Even though Maven is > configured correctly and i am able to run the same project from command > window with the commands 'mvn test'. Please help if anybody have any idea. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dca69914-4b4c-4979-893b-ef769d6ed8d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.