Title: Message Title
bhargav amin created an issue
Jenkins / JENKINS-41837
"Error cloning remote repo 'origin' Github repo
Issue Type:
Bug
Assignee:
Mark Waite
Components:
git-plugin
Created:
2017/Feb/08 7:53 AM
Environment:
Jenkins 2.32.2, Git plugin 3.0.4, Git client plugin 2.2.1
Labels:
plugin jenkins
Priority:
Blocker
Reporter:
bhargav amin
Setup up SSH authentication for github(followed every step in this article)
Changed jenkins user to Administrator from local system
created ssh private and public key, also create known_hosts file
After creation of private and public key I was able to clone repository via cmd but still not through jenkins
Error trace : Building in workspace C:\Users\Administrator\.jenkins\workspace\zzz > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > C:\Program Files\Git\cmd\git.exe config remote.origin.url https://github.com/entytle/dedupe-job.git # timeout=10 Fetching upstream changes from https://github.com/zzz/zzz-job.git > C:\Program Files\Git\cmd\git.exe --version # timeout=10 using GIT_ASKPASS to set credentials > C:\Program Files\Git\cmd\git.exe fetch --tags --progress