My Jenkins environment are following:
I can build job as pipeline which print “hello” to console.
Then, I’d like to clone repositry from git.
But, console log said git command is not found.
“Caused by: java.io.IOException: Cannot run program “/usr/bin/git” (in directory “Q:\CICD\jenkins_work\workspace\debug_windows_controller”): CreateProcess error=2, cannot find file”
I set Git path as below:
Also, I set to agent as bellow:
(hebereke7 is my node name for windows)
What should I execute git.exe ? Could you tell me please ?