Note that there are some explanatory texts on larger screens.

plurals
  1. POJenkins can not clone Git repository over Git/SSH on Windows
    primarykey
    data
    text
    <p>I have successfully cloned Git repository in Jenkins over Git/SSH on Windows 2008 32-bit. When I tried to do the same on Windows 2008 64-bit, <em>Console Output</em> page gets stuck here:</p> <pre><code>Démarré par l'utilisateur anonymous Checkout:book / C:\Jenkins\workspace\book - hudson.remoting.LocalChannel@1da691a Using strategy: Default Last Built Revision: Revision 5d7ce4ae23c91fb201ee005e6db17bcd795ca965 (origin/HEAD, origin/master) Checkout:book / C:\Jenkins\workspace\book - hudson.remoting.LocalChannel@1da691a Cloning the remote Git repository Cloning repository origin </code></pre> <p>When I stop the build (after a few minutes of being stuck there), I get the rest of the error message:</p> <pre><code>ERROR: Error cloning remote repo 'origin' : Could not clone git@github.com:zeljkofilipin/watirbook.git ERROR: Cause: Error performing command: C:\Git\bin\git.exe clone --progress -o origin git@github.com:zeljkofilipin/watirbook.git C:\Jenkins\workspace\book null Trying next repository ERROR: Could not clone repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1042) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:968) at hudson.FilePath.act(FilePath.java:785) at hudson.FilePath.act(FilePath.java:767) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:968) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:567) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:455) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) </code></pre> <ul> <li>I can clone the repository via Git read-only URL <code>git://github.com/zeljkofilipin/watirbook.git</code> from Jenkins on both machines</li> <li>I can clone via Git/SSH URL <code>git@github.com:zeljkofilipin/watirbook.git</code> from the command line on both machines</li> <li>I can clone via Git/SSH URL from Jenkins on 32-bit machine, but not on 64-bit machine.</li> </ul> <p>The only difference I can notice between the two machines (not counting that one is a virtual machine on my laptop, and another is a real machine in Switzerland) is that the first one is 32-bit and the second one is 64-bit.</p> <p>Not sure if that could be related, but 32-bit machine has location set to Croatia, and 64-bit machine to Switzerland (as you can see from Git output in French).</p> <p>For more information please see my blog post: <a href="http://filipin.eu/2011/10/21/jenkins-windows-and-git.html">Jenkins, Windows and Git</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload