Jenkins not recognizing git binary
jenkins, jenkins-plugins
Solution
You can also override the git path on a per-node basis. Just go to the configure page of your node, and check `Tool Locations`, and provide the git path on that system.
Here on OSX, it was `/usr/local/git/bin/git` for me. You can determine it by executing `which git` as jenkins user on your node.
Problem
I have installed git successfully on Centos 5.7, $ git --version git version 1.7.4.1 While pulling the source from the github from jenkins, i am facing following issue ``` Caused by: java.io.IOException: Cannot run program "git": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:709) at hudson.Launcher$ProcStarter.start(Launcher.java:338) at hudson.Launcher$ProcStarter.join(Launcher.java:345) at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:774) ``` Jenkins not recognizing git binary. please help me on this