If you get the above error when you setup Jenkins job, please follow the below steps. There may be several reasons behind this error. One the reason may be if you don’t have git installed where you have jenkins server. To avoid this you can use the below given command.… Continue Reading Failed to connect to repository Error performing git command git ls-remote -h https github com jenikis hook git HEAD