Reputation: 4014
I'm trying to set up Jenkins
referencing a Git
repository. However I get this strange error
Any idea what is wrong. The repository works fine on my team mates computers.
Upvotes: 2
Views: 21381
Reputation: 955
Possible assumptions for this error
Make sure you have permission to access this repo on jenkins server machine. you can check it by putting
git clone http://repo.git
on cmd or terminal whatever os you are using.
Make sure git installed on jenkins server or not,if not then you need to install git on jenkins server first,then try adding git repo to jenkins.
If git is installed on jenkins server machine then check
PATH env variable
has proper git binary executable point location
Upvotes: 2
Reputation: 520888
Even though your "mates" have access to the Goatic/hangman
git repository, Jenkins does not as it is running under a different user. You can add credentials from the Jenkins admin screen by doing Manage Jenkins -> Configure System
Have a look at this SO post for more information.
Upvotes: 2