Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11325

ERROR: Error cloning remote repo 'origin'

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • git-plugin
    • None
    • Jenkins installed in Windows XP as a Windows Service

      Jenkins installed with git plugin but is not able to clone from remote repository.
      ssh keys are put in C:\Documents and Settings\<user>\.ssh

      Started by user anonymous
      Checkout:workspace / C:\Java\Jenkins\jobs\stdsbl\workspace - hudson.remoting.LocalChannel@11ee8dd
      Using strategy: Default
      Checkout:workspace / C:\Java\Jenkins\jobs\stdsbl\workspace - hudson.remoting.LocalChannel@11ee8dd
      Workspace has a .git repository, but it appears to be corrupt.
      Cloning the remote Git repository
      Cloning repository origin
      ERROR: Error cloning remote repo 'origin' : Could not clone ssh://cstan@codex.cro.st.com/gitroot/stdsbl/stdsbl.git
      ERROR: Cause: Error performing command: C:\Java\Git\bin\git.exe clone --progress -o origin ssh://cstan@codex.cro.st.com/gitroot/stdsbl/stdsbl.git C:\Java\Jenkins\jobs\stdsbl\workspace
      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)

            tanchinsheng Tan Chin Sheng
            tanchinsheng Tan Chin Sheng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: