|Still Having Problems with Git on Hudson [message #1088262]
||Fri, 16 August 2013 20:58
| Kevin Simonson
Registered: August 2013
Geoff Waymark wrote on Fri, 16 August 2013 09:06|
I think it's still, struggling to find the ssh keys. It's possible the user home isn't set correctly on the slave.
Henrik's blog might help.
The error reporting for git + ssh can leave something to be desired.
I read Henrik's blog and, as it suggested, set my HOME environment variable to point to "C:\Users\hudson". Then I clicked on the Firefox build icon and it appeared to run okay for about two minutes, at which point it failed with message:
Started by user anonymous
Building remotely on Lynx Hudson Slave 2
Checkout:Links-UI-Firefox / C:\Users\hudson\workspace\Links-UI-Firefox - hudson.remoting.Channel@62d3db5a:Lynx Hudson Slave 2
Using strategy: Default
Last Built Revision: Revision c6ab53918ae4cb1c3523096ab5c6ba8702586b62 (origin/master)
Checkout:Links-UI-Firefox / C:\Users\hudson\workspace\Links-UI-Firefox - hudson.remoting.LocalChannel@30e6ace7
Fetching changes from the remote Git repository
Fetching upstream changes from email@example.com:fs-eng/links
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
hudson.plugins.git.GitException: Error performing command: C:\tools\Git\bin\git.exe fetch -t firstname.lastname@example.org:fs-eng/links +refs/heads/*:refs/remotes/origin/*
Command "C:\tools\Git\bin\git.exe fetch -t email@example.com:fs-eng/links +refs/heads/*:refs/remotes/origin/*" returned status code 128: ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Any ideas for why it's failing now? It looks like it's saying it's having a problem with my ".ssh" files, but I copied those directly across from our old Hudson machine where builds have been executing just fine. I'm not sure what to do at this point.
Powered by FUDForum
. Page generated in 0.02103 seconds