-
Bug
-
Resolution: Not A Defect
-
Major
-
Java 1.8.0
OS X Yosemite
I've Jenkins setup on my MacMini. It was working for several month uninterrupted until recent restart of the machine. Since then, whenever I'm trying to build (and cloning) I get:
[ssh-agent] Using credentials jenkins [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Java/JNR ssh-agent [ssh-agent] Started. Cloning the remote Git repository Cloning repository git@********.com:git/Mobility/my-project.git > /usr/bin/git init /Users/Shared/Jenkins/Home/jobs/my-project/workspace # timeout=10 Fetching upstream changes from git@********.com:git/Mobility/my-project.git > /usr/bin/git --version # timeout=10 using GIT_SSH to set credentials > /usr/bin/git -c core.askpass=true fetch --tags --progress git@********.com:git/Mobility/my-project.git +refs/heads/*:refs/remotes/origin/* ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "/usr/bin/git -c core.askpass=true fetch --tags --progress git@********.com:git/Mobility/my-project.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1058) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1098) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) ERROR: null
The thing is that SSH setup is ok, as I can easily clone any repo in terminal.
I searched in the web and tried almost everything I could and I'm out of clues what might be causing it.