I want to give Jenkins local path to my Git repository. I initiated in that folder git repo with git init
command, but when I set a path in Jenkins config page I get :
Failed to connect to repository : Command "/usr/bin/git ls-remote -h
/Users/asd/Documents/workspace/mavenTest HEAD" returned status code 128:
stdout:
stderr: fatal: '/Users/asd/Documents/workspace/mavenTest' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.