If you run maven 3.3.x the wrapper is named mvn.cmd now, I don't think the mvn build step has been updated accordingly. Use mvn 3.2.x or use the regular batch command line as a workaround.
Vincent 2015-06-09 18:20 GMT+02:00 Slide <[email protected]>: > Did you setup the Maven information in the global config? Also, are you > running the commands on the command line as the same user that Jenkins is > running under? > > On Tue, Jun 9, 2015 at 9:19 AM shekhar sharma <[email protected]> > 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/5a87a70f-99db-4239-915c-64610bb60a3c%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/5a87a70f-99db-4239-915c-64610bb60a3c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf5PhbSVmKNTw8_Kn%3Deo2r_Ky-uNdNANuBSmv2_ToQh%2BQ%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf5PhbSVmKNTw8_Kn%3Deo2r_Ky-uNdNANuBSmv2_ToQh%2BQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAH-zGCgYHxB%2B38SiMRX4akoN%3Dfp_QmqcNMNXxnA%2B5byirDPHZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
