Specify git commands in Jenkins Git plugin
The executable should have a complete path of Git executable.
<exec executable="PATH_TO_GIT_EXE" dir="${build.source.location}\${build.git.repository}" failonerror="true">
The executable should have a complete path of Git executable.
<exec executable="PATH_TO_GIT_EXE" dir="${build.source.location}\${build.git.repository}" failonerror="true">