'Jenkins build failed at git clone with error code 13

I am trying my 1st Jenkins build but it failed at git clone, error code #13

Caused by: java.io.IOException: Cannot run program "/var/lib/jenkins/tools/git" (in directory "/var/lib/jenkins/workspace/Superlist"): error=13, Permission denied



Solution 1:[1]

I know this is an old thread, but I had this issue because I had a space in my jenkins project name. Create a new project without spaces and give it another go.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ryan McGrath