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/5a87a70f-99db-4239-915c-64610bb60a3c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Started by user anonymous Building in workspace C:\Users\Shesharm\.jenkins\workspace\DataDrivenFramework > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # > timeout=10 Fetching changes from the remote Git repository > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url > https://github.com/shesharm/ddf_Shekhar # timeout=10 Fetching upstream changes from https://github.com/shesharm/ddf_Shekhar > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10 > C:\Program Files (x86)\Git\cmd\git.exe -c core.askpass=true fetch --tags > --progress https://github.com/shesharm/ddf_Shekhar > +refs/heads/*:refs/remotes/origin/* > C:\Program Files (x86)\Git\cmd\git.exe rev-parse > "refs/remotes/origin/master^{commit}" # timeout=10 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse > "refs/remotes/origin/origin/master^{commit}" # timeout=10 Checking out Revision 1919b5aa87a6c8482893afed90e7cdead9d28cb0 (refs/remotes/origin/master) > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # > timeout=10 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f > 1919b5aa87a6c8482893afed90e7cdead9d28cb0 > C:\Program Files (x86)\Git\cmd\git.exe rev-list > 1919b5aa87a6c8482893afed90e7cdead9d28cb0 # timeout=10 [DataDrivenFramework] $ cmd.exe /C '"mvn.bat -f C:\Workspace\MySampleMavenProj\pom.xml -Dmaven.repo.local=C:\Users\Shesharm\.jenkins\workspace\DataDrivenFramework\.repository test && exit %%ERRORLEVEL%%"' 'mvn.bat' is not recognized as an internal or external command, operable program or batch file. Build step 'Invoke top-level Maven targets' marked build as failure Sending e-mails to: sharmashekha...@gmail.com ERROR: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbvI3 534-5.7.14 Y3Y8cUnMScr-BVNj5HvSW5zRbWlV3taKSDqGjYXQeY-weQXo0n9EVOSAXXUfv5-QhogxKf 534-5.7.14 4Szesii6T-BUI4CM-tUqm1Do3jAW699RhlXKrWxNRWavv_w05v5SbEVarkH86LLxsZPba3 534-5.7.14 TbMfSOvH0QhFgNrAMWIiS1O2HwaShJvqEAvObMAj0uYcDBvAYL7YqvnxaALNtm72XrYDhl 534-5.7.14 42eShlw-m4h-YmFcxb3X5qahG3Ko> Please log in via your web browser and 534-5.7.14 then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/answer/78754 fs16sm6074433pdb.12 - gsmtp javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbvI3 534-5.7.14 Y3Y8cUnMScr-BVNj5HvSW5zRbWlV3taKSDqGjYXQeY-weQXo0n9EVOSAXXUfv5-QhogxKf 534-5.7.14 4Szesii6T-BUI4CM-tUqm1Do3jAW699RhlXKrWxNRWavv_w05v5SbEVarkH86LLxsZPba3 534-5.7.14 TbMfSOvH0QhFgNrAMWIiS1O2HwaShJvqEAvObMAj0uYcDBvAYL7YqvnxaALNtm72XrYDhl 534-5.7.14 42eShlw-m4h-YmFcxb3X5qahG3Ko> Please log in via your web browser and 534-5.7.14 then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/answer/78754 fs16sm6074433pdb.12 - gsmtp at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:809) at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:752) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669) at javax.mail.Service.connect(Service.java:317) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at javax.mail.Transport.send0(Transport.java:194) at javax.mail.Transport.send(Transport.java:124) at hudson.tasks.MailSender.execute(MailSender.java:121) at hudson.tasks.Mailer.perform(Mailer.java:138) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Finished: FAILURE