Supposedly there is way to make the Git plugin (1.3.x or later) revert to using command-line git instead of JGit for repository access, but I can't seem to find any place to configure that.
----- Original Message ----- From: [email protected] To: [email protected] At: Mar 19 2013 08:11:40 I had the same problem and I just went back to the git plugin version 1.1.26 It seems to the that as the 1.3 is using JGit it is not using $HOME/.ssh files anymore. Regards Jeff On Tue, Mar 19, 2013 at 12:45 PM, Peter Miklosko <[email protected]>wrote: > After upgrade to latest Jenkins (1.506) and plugins update I run in a > problem that previously working builds just fails to verify and fetch data > from Git. > Bellow is error I get on one of the projects > > Started by user anonymous <http://localhost:8080/user/null> > Building in workspace /Users/Peter/.jenkins/jobs/Kwik-E-Mart/workspace > Checkout:workspace / /Users/Peter/.jenkins/jobs/Kwik-E-Mart/workspace - > hudson.remoting.LocalChannel@4f399671 > Using strategy: Default > Fetching changes from 1 remote Git repository > ERROR: Problem fetching from origin / origin - could be unavailable. > Continuing anywayhudson.plugins.git.GitException > <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: > org.eclipse.jgit.api.errors.TransportException: > [email protected]:novoda/tesco.git: Auth fail > at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:212) > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch&entity=method> > at hudson.plugins.git.GitAPI.fetch(GitAPI.java:230) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitAPI.fetch&entity=method> > at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:793) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.fetchFrom&entity=method> > at hudson.plugins.git.GitSCM.access$000(GitSCM.java:57) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.access$000&entity=method> > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:976) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM$2.invoke&entity=method> > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:942) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM$2.invoke&entity=method> > at hudson.FilePath.act(FilePath.java:865) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> > at hudson.FilePath.act(FilePath.java:838) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> > at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:942) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.determineRevisionToBuild&entity=method> > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout&entity=method> > at hudson.model.AbstractProject.checkout(AbstractProject.java:1353) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:689) > > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout&entity=method> > at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) > <http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:594) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> > at hudson.model.Run.execute(Run.java:1567) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> > at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> > at hudson.model.ResourceController.execute(ResourceController.java:88) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at hudson.model.Executor.run(Executor.java:237) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > Caused by: org.eclipse.jgit.api.errors.TransportException > <http://stacktrace.jenkins-ci.org/search?query=org.eclipse.jgit.api.errors.TransportException>: > [email protected]:novoda/tesco.git: Auth fail > at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137) > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.api.FetchCommand.call&entity=method> > at org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch(JGitAPIImpl.java:208) > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.gitclient.JGitAPIImpl.fetch&entity=method> > ... 17 more > Caused by: org.eclipse.jgit.errors.TransportException > <http://stacktrace.jenkins-ci.org/search?query=org.eclipse.jgit.errors.TransportException>: > [email protected]:novoda/tesco.git: Auth fail > at > org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:142) > > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.JschConfigSessionFactory.getSession&entity=method> > at > org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121) > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.SshTransport.getSession&entity=method> > at > org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248) > > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.%3Cinit%3E&entity=method> > at > org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147) > > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.TransportGitSsh.openFetch&entity=method> > at > org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.FetchProcess.executeImp&entity=method> > at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.FetchProcess.execute&entity=method> > at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104) > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.Transport.fetch&entity=method> > at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128) > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.api.FetchCommand.call&entity=method> > ... 18 more > Caused by: com.jcraft.jsch.JSchException > <http://stacktrace.jenkins-ci.org/search?query=com.jcraft.jsch.JSchException>: > Auth fail > at com.jcraft.jsch.Session.connect(Session.java:461) > <http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jsch.Session.connect&entity=method> > at > org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116) > > <http://stacktrace.jenkins-ci.org/search/?query=org.eclipse.jgit.transport.JschConfigSessionFactory.getSession&entity=method> > ... 25 more > ERROR: Could not fetch from any repositoryFATAL > <http://stacktrace.jenkins-ci.org/search?query=FATAL>: Could not fetch from > any repositoryhudson.plugins.git.GitException > <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>: > Could not fetch from any repository > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:981) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM$2.invoke&entity=method> > at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:942) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM$2.invoke&entity=method> > at hudson.FilePath.act(FilePath.java:865) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> > at hudson.FilePath.act(FilePath.java:838) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> > at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:942) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.determineRevisionToBuild&entity=method> > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.git.GitSCM.checkout&entity=method> > at hudson.model.AbstractProject.checkout(AbstractProject.java:1353) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:689) > > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout&entity=method> > at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) > <http://stacktrace.jenkins-ci.org/search/?query=jenkins.scm.SCMCheckoutStrategy.checkout&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:594) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> > at hudson.model.Run.execute(Run.java:1567) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> > at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> > at hudson.model.ResourceController.execute(ResourceController.java:88) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at hudson.model.Executor.run(Executor.java:237) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Jeff MAURY "Legacy code" often differs from its suggested alternative by actually working and scaling. - Bjarne Stroustrup http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
