On Fri, Feb 16, 2018 at 1:41 PM naveen kumar <[email protected]> wrote:
> Added the path and launched agent again but no luck > > Check that the system information page for that agent shows that the PATH setting was actually applied to that agent. That message indicates that git.exe is not being found in the PATH. You might also adjust the configuration of the global git tool (in the Global Tools Configuration) to use "git" instead of "git.exe" as the git program. The "exe" suffix is not needed as far as I know. Mark Waite > > On Saturday, February 17, 2018 at 1:54:46 AM UTC+5:30, naveen kumar wrote: >> >> Console Output Started by user admin Building on master in workspace >> C:\Jenkins\JenkinsHome\workspace\HelloWorld Cloning the remote Git >> repository Cloning repository >> https://github.com/naveenaws2018/HelloWorld.git >> <https://www.youtube.com/redirect?event=comments&q=https%3A%2F%2Fgithub.com%2Fnaveenaws2018%2FHelloWorld.git&redir_token=_DReAzBskQfUBrHNQoIR5ENkc9l8MTUxODg5ODQ4NUAxNTE4ODEyMDg1> >> > >> git.exe init C:\Jenkins\JenkinsHome\workspace\HelloWorld # timeout=10 ERROR: >> Error cloning remote repo 'origin' Caused by: java.io.IOException: >> Cannot run program "git.exe" (in directory >> "C:\Jenkins\JenkinsHome\workspace\HelloWorld"): CreateProcess error=2, The >> system cannot find the file specified at >> java.lang.ProcessBuilder.start(Unknown Source) at >> hudson.Proc$LocalProc.<init>(Proc.java:249) at >> hudson.Proc$LocalProc.<init>(Proc.java:218) at >> hudson.Launcher$LocalLauncher.launch(Launcher.java:930) at >> hudson.Launcher$ProcStarter.start(Launcher.java:450) at >> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1992) >> ... >> 16 more Caused by: java.io.IOException: CreateProcess error=2, The >> system cannot find the file specified at >> java.lang.ProcessImpl.create(Native Method) at >> java.lang.ProcessImpl.<init>(Unknown Source) at >> java.lang.ProcessImpl.start(Unknown Source) ... 22 more ERROR: Error >> cloning remote repo 'origin' Finished: FAILURE Please help >> > -- > 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/c01ede0a-6edc-456d-b435-e16a3ec39d25%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/c01ede0a-6edc-456d-b435-e16a3ec39d25%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/CAO49JtG2E4vUkdNJ0038_Xt7sFoLqX%2BrxXB%3DwztQ-ku2RqRGdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
