-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.222.1
Git plugin 4.2.2
Git client plugin 3.2.1
-
-
Jenkins 2.232
The git client plugin global configuration section allows the user to define git implementations which are then used as tools. One of the fields is "Path". When that field has the simple name 'git', it should find command line git on the system path.
The error message reports that git cannot be found on the path, yet git works great on that machine and is definitely found on the path.
Users may continue to use command line git in this configuration, they can ignore the incorrect warning message from the dialog.
Hi markewaite. I was trying to reproduce this bug and I can't figure out a way to do it. I'd like to know if this is a windows or a linux machine.
As it can be seen, the environment variable PATH is being used to find the git executable and depending upon the OS, it will try to append PATH + "git" and try to check if that exists. Since you have mentioned that the git executable does exist on the path, it doesn't make sense to me how could the FormValidation validateExecutable can't find it.