Note that there are some explanatory texts on larger screens.

plurals
  1. POJenkins hanging at "Fetching upstream changes from origin"
    primarykey
    data
    text
    <p>I'm trying to set up Jenkins on a Windows Server 2012 machine, and I'm having a lot of difficulty.</p> <p>Things I've done:</p> <ul> <li>Created a password-less <code>id_rsa</code>, and <code>id_rsa.pub</code></li> <li>Created a <code>known_hosts</code> file for bitbucket.org using <code>ssh.exe -T bitbucket.org</code> and accepting to add the host.</li> <li>Added <code>E:</code> to System-wide HOME Variable</li> <li>I've added those files to <code>C:/Windows/SysWOW64/config/systemprofile/.ssh</code> as well as <code>E:/.ssh</code></li> <li>I've linked my public key to Bitbucket as a deployment key.</li> <li>I've triple-checked all my URLs, usernames, etc.</li> <li>I've even manually pulled from the repository to setup an initial base in <code>C:/Program Files (x86)/Jenkins/jobs/MyProject/workspace/</code></li> </ul> <p>And yet it still hangs at</p> <pre><code>Building in workspace C:\Program Files (x86)\Jenkins\jobs\MyProject\workspace Checkout:workspace / C:\Program Files (x86)\Jenkins\jobs\MyProject\workspace - hudson.remoting.LocalChannel@13ca972 Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from origin </code></pre> <p>I've given it about 20 minutes, so it's not a speed / size of the repo issue. If I cancel, this is what is returned:</p> <pre><code>ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway hudson.plugins.git.GitException: Error performing command: C:\Program Files (x86)\Git\bin\git.exe fetch -t origin +refs/heads/*:refs/remotes/origin/* at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:780) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:739) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:160) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:230) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:793) at hudson.plugins.git.GitSCM.access$000(GitSCM.java:57) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:976) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:942) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:942) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101) at hudson.model.AbstractProject.checkout(AbstractProject.java:1364) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:670) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:575) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.lang.InterruptedException at java.lang.ProcessImpl.waitFor(Native Method) at hudson.Proc$LocalProc.join(Proc.java:319) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:769) ... 19 more ERROR: Could not fetch from any repository FATAL: Could not fetch from any repository hudson.plugins.git.GitException: Could not fetch from any repository at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:981) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:942) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:942) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101) at hudson.model.AbstractProject.checkout(AbstractProject.java:1364) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:670) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:575) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) </code></pre> <p>I'm at my wits end here, so I appreciate all the help I can get. Here are a choice few articles which I've tried with no improvement.</p> <p><a href="https://stackoverflow.com/questions/5212304/authenticate-jenkins-ci-for-github-private-repository">Authenticate Jenkins CI for Github private repository</a></p> <p><a href="https://stackoverflow.com/questions/6515039/jenkins-git-permission-denied-publickey">Permission denied (publickey) when setting up Jenkins</a></p> <p><a href="https://stackoverflow.com/questions/3188710/hudson-git-plugin-not-working-on-windows/3188786#3188786">Hudson Git Plugin not working on windows</a></p> <p><a href="http://computercamp.cdwilson.us/jenkins-git-clone-via-ssh-on-windows-7-x64" rel="nofollow noreferrer">http://computercamp.cdwilson.us/jenkins-git-clone-via-ssh-on-windows-7-x64</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    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