> > Here are the errors we are running into (Credentials *Unix BitBucket > Groovy* are the name of the credentials commonly used across all > platforms): > > > > Building remotely on *XXXJENKINSNODEXXX* in workspace > d:\scm\checkout\John-Test > > > D:\SCM\Apps\Git\2.8.2\bin\git.exe rev-parse --is-inside-work-tree # > timeout=10 > > Fetching changes from the remote Git repository > > > D:\SCM\Apps\Git\2.8.2\bin\git.exe config remote.origin.url > ssh://[email protected]:7999/projectname/reponame.git # timeout=10 > > Fetching upstream changes from > ssh://[email protected]:7999/projectname/reponame.git > > > D:\SCM\Apps\Git\2.8.2\bin\git.exe --version # timeout=10 > > using GIT_ASKPASS to set credentials *Unix Bitbucket Groovy* > > > D:\SCM\Apps\Git\2.8.2\bin\git.exe fetch --tags --progress > ssh://[email protected]:7999/projectname/reponame.git > +refs/heads/*:refs/remotes/origin/* > > *ERROR: Error fetching remote repo 'origin'* > > *hudson.plugins.git.GitException: Failed to fetch from > ssh://[email protected]:7999/projectname/reponame.git > <http://[email protected]:7999/projectname/reponame.git>* > > at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:862) > > at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1129) > > at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1160) > > at hudson.scm.SCM.checkout(SCM.java:495) > > at hudson.model.AbstractProject.checkout(AbstractProject.java:1202) > > at > hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) > > at > jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) > > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) > > at hudson.model.Run.execute(Run.java:1724) > > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) > > at hudson.model.ResourceController.execute(ResourceController.java:97) > > at hudson.model.Executor.run(Executor.java:429) > > *Caused by: hudson.plugins.git.GitException: Command > "D:\SCM\Apps\Git\2.8.2\bin\git.exe fetch --tags --progress > ssh://[email protected]:7999/projectname/reponame.git > <http://[email protected]:7999/projectname/reponame.git> > +refs/heads/*:refs/remotes/origin/*" returned status code 128:* > > *stdout: * > > *stderr: Permission denied (publickey).* > > *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:1996) > > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1715) > > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72) > > at > org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:405) > > at > org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) > > at > org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) > > at hudson.remoting.UserRequest.perform(UserRequest.java:207) > > at hudson.remoting.UserRequest.perform(UserRequest.java:53) > > at hudson.remoting.Request$2.run(Request.java:358) > > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > at hudson.remoting.Engine$1$1.run(Engine.java:98) > > at java.lang.Thread.run(Thread.java:748) > > > > Have you tried running, manually from command line, 'git clone' using the > creds in the problematic nodes ? >
/Ram -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/101e0650-f540-40a3-b404-48a4abf83adb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
