Thank you for looking into this as well! [?] I will try to recreate your solution.
Thanks again, John M. On Wed, Jun 25, 2014 at 1:43 PM, lochrann <[email protected]> wrote: > Hi everybody. > > John, I've started reading Jenkins: The Definitive Guide today (I'm a > Jenkins newbie too) and I've had the very same problem as you. > It's been driving me mad all day long.. Stuck at page 24 - ho la la. > I thought that it was because my Git directory was not at the default > place (G:\Git\ instead of C:\Program Files (x86)) and > wasted a lot of time trying to generate a link/directory junction... But > nope. > > I finally hit this post and tried ssh without passphrase an *it worked!* > > My local configuration is: > Git directory: G:\Git > Git plugin version: 2.2.2 > Git client plugin version 1.9.1 > > Gobal Jenkins configuration: Section Git > Name: Git > Path to Git executable: G:\Git\bin\git.exe > > Section CVS > Private key location: G:/Git/.ssh/id_rsa > Private Key Password: none (displays *********) > Known Hosts Location: G:/Git/.ssh/known_hosts > > Project configuration: > Source Code Management > Git Repository URL [email protected]:{my > login}/game-of-life.git > Credentials: none > > Please note that I had to copy the ~/.ssh files in G:/Git/.ssh too. > > So: > - try ssh without passphrase in Jenkins at least when it comes down to the > book examples; > - copy your ssh files in the Git/.ssh directory next to the Git/bin > directory. > > Regards, Lochrann > > > > On Sunday, May 11, 2014 2:38:18 PM UTC+2, [email protected] wrote: >> >> Okay, I am a newbie to Jenkins. >> >> I'm reading Jenkins: The Definitive Guide >> <http://isbn.directory/book/978-1-4493-0535-2> and am attempting to set >> up the first example. >> >> I'm having issues and I've searched and haven't really found an answer. >> >> So, I am posting here in the hopes that this is a simple configuration >> issue. >> >> I've done the following: >> >> - Set up Jenkins as a windows service and installed the Git Plugin >> - Used Git-Bash to open a window and create the key pair >> - Copied the public key to my Git account >> - Cloned the Git repository as directed in the book's example >> >> However, I am seeing the following error message each time Jenkins >> attempts to pull changes from the Git repository: >> >> Started by an SCM change: >> >> Building in workspace C:\Jenkins\workspace\game-of-life-default >> git.exe rev-parse --is-inside-work-tree >> Fetching changes from the remote Git repository >> git.exe config remote.origin.url >> [email protected]:xxxx-xxxxxx/game-of-life.git >> Fetching upstream changes from [email protected]:xxxx-xxxxx/game-of-life.git >> git.exe --version >> git.exe fetch --tags --progress [email protected]:xxxx-xxxxx/game-of-life.git >> +refs/heads/*:refs/remotes/origin/* >> >> ERROR: Timeout after 10 minutes >> >> FATAL: Failed to fetch from [email protected]:xxxx-xxxxx/game-of-life.git >> >> hudson.plugins.git.GitException: Failed to fetch from >> [email protected]:xxxx-xxxxx/game-of-life.git >> >> Finally returning with a status code: -1. >> >> Any help would be appreciated. >> >> Thanks >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/P8mAVI9cROU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
