Folks,

We have an Enterprise github installation, and up until six days ago I was at 
least able to get Jenkins to do a git clone, use the 
SCM+Sync+configuration+plugin to upload changed configuration files to the 
designated repo, etc....

But six days ago, something broke.  Now, no matter what I do, any time Jenkins 
tries to interact with git, I get a "status code 128: Permission denied 
(publickey)." error.

I've tried to debug this every way I can.  I've checked the issue navigator at 
<https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?mode=hide&reset=true&jqlQuery=project+%3D+JENKINS+AND+status+in+(Open%2C+%22In+Progress%22%2C+Reopened)+AND+component+%3D+%27git%27>,
 I've reverted from 1.1.23 to 1.1.22 of the git plugin, added loggers based on 
the example at 
<https://wiki.jenkins-ci.org/display/JENKINS/ScmSyncConfig+Troubleshootings>, 
and so far nothing I've done can add any more information to this error.

I've deleted the ssh keys on our github server, and got the exact same error.  
I generated a new ssh key as the Jenkins user on the Jenkins server then 
uploaded it to the github account, same error.  I changed the password that 
Jenkins was supposed to be using for the ssh key to something I know to be 
incorrect, same error.  It seems that no matter what I do with ssh keys whether 
I am extra careful to make sure that I've done everything correct or if I 
intentionally do something "wrong", I still get the same error.

I'm stumped, and I can't figure out how to get Jenkins to return logging 
information that is actually useful and related to the actual problem I'm 
having.


Yes I did confirm that I could still clone the repos manually with the old key, 
and I have likewise confirmed that I can clone the repos with the new key.  So, 
the key itself works and lets me get into github, the problem seems to be that 
Jenkins is not properly handling git+ssh in this case, and it's not returning 
useful debugging information when I try to figure out what is really going 
wrong.


If you can point me at any other pages or recommended procedures that I should 
try, please let me know.  Thanks!

--
Brad Knowles <b...@shub-internet.org>
LinkedIn Profile: <http://tinyurl.com/y8kpxu>

Reply via email to