hudson.plugins.git.GitException: Could not clone

Jenkins JIRA | adrien ruffie | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hello all, I try to checkout a git project in one Jenkins build, but the following error occurs: Any one have an idea ? I think the problem is linked to my RSA public key, but I have copy/ paste in "ssh public keys" into github.com and my account I have use the id_rsa.pub into my C:\Users\a.ruffie\.jenkins Thank for reading Best regards Adrien Démarré par l'utilisateur anonymous Building in workspace C:\Users\a.ruffie\.jenkins\workspace\game-of- life-default Checkout:game-of-life-default / C:\Users\a.ruffie\.jenkins\workspace \game-of-life-default - hudson.remoting.LocalChannel@4c032069 Using strategy: Default Checkout:game-of-life-default / C:\Users\a.ruffie\.jenkins\workspace \game-of-life-default - hudson.remoting.LocalChannel@4c032069 Cloning the remote Git repository Cloning repository origin ERROR: Error cloning remote repo 'origin' : Could not clone git@github.com:adryen31/game-of-life.git hudson.plugins.git.GitException: Could not clone git@github.com:adryen31/game-of-life.git at hudson.plugins.git.GitAPI.clone(GitAPI.java:245) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1029) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970) at hudson.model.AbstractProject.checkout(AbstractProject.java: 1195) at hudson.model.AbstractBuild $AbstractRunner.checkout(AbstractBuild.java:576) at hudson.model.AbstractBuild $AbstractRunner.run(AbstractBuild.java:465) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: hudson.plugins.git.GitException: Error performing command: C:\Java\Git\bin\git.exe clone --progress -o origin git@github.com:adryen31/game-of-life.git C:\Users\a.ruffie\.jenkins \workspace\game-of-life-default Command "C:\Java\Git\bin\git.exe clone --progress -o origin git@github.com:adryen31/game-of-life.git C:\Users\a.ruffie\.jenkins \workspace\game-of-life-default" returned status code 128: Cloning into 'C:\Users\a.ruffie\.jenkins\workspace\game-of-life-default'... Permission denied (publickey). fatal: The remote end hung up unexpectedly at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:776) at hudson.plugins.git.GitAPI.access$000(GitAPI.java:38) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:241) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:221) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.git.GitAPI.clone(GitAPI.java:221) ... 12 more Caused by: hudson.plugins.git.GitException: Command "C:\Java\Git\bin \git.exe clone --progress -o origin git@github.com:adryen31/game-of- life.git C:\Users\a.ruffie\.jenkins\workspace\game-of-life-default" returned status code 128: Cloning into 'C:\Users\a.ruffie\.jenkins \workspace\game-of-life-default'... Permission denied (publickey). fatal: The remote end hung up unexpectedly at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:771) ... 18 more 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:1041) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970) at hudson.model.AbstractProject.checkout(AbstractProject.java: 1195) at hudson.model.AbstractBuild $AbstractRunner.checkout(AbstractBuild.java:576) at hudson.model.AbstractBuild $AbstractRunner.run(AbstractBuild.java:465) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 5 years ago | adrien ruffie
    hudson.plugins.git.GitException: Could not clone
  2. 0

    Hello all, I try to checkout a git project in one Jenkins build, but the following error occurs: Any one have an idea ? I think the problem is linked to my RSA public key, but I have copy/ paste in "ssh public keys" into github.com and my account I have use the id_rsa.pub into my C:\Users\a.ruffie\.jenkins Thank for reading Best regards Adrien Démarré par l'utilisateur anonymous Building in workspace C:\Users\a.ruffie\.jenkins\workspace\game-of- life-default Checkout:game-of-life-default / C:\Users\a.ruffie\.jenkins\workspace \game-of-life-default - hudson.remoting.LocalChannel@4c032069 Using strategy: Default Checkout:game-of-life-default / C:\Users\a.ruffie\.jenkins\workspace \game-of-life-default - hudson.remoting.LocalChannel@4c032069 Cloning the remote Git repository Cloning repository origin ERROR: Error cloning remote repo 'origin' : Could not clone git@github.com:adryen31/game-of-life.git hudson.plugins.git.GitException: Could not clone git@github.com:adryen31/game-of-life.git at hudson.plugins.git.GitAPI.clone(GitAPI.java:245) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1029) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970) at hudson.model.AbstractProject.checkout(AbstractProject.java: 1195) at hudson.model.AbstractBuild $AbstractRunner.checkout(AbstractBuild.java:576) at hudson.model.AbstractBuild $AbstractRunner.run(AbstractBuild.java:465) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: hudson.plugins.git.GitException: Error performing command: C:\Java\Git\bin\git.exe clone --progress -o origin git@github.com:adryen31/game-of-life.git C:\Users\a.ruffie\.jenkins \workspace\game-of-life-default Command "C:\Java\Git\bin\git.exe clone --progress -o origin git@github.com:adryen31/game-of-life.git C:\Users\a.ruffie\.jenkins \workspace\game-of-life-default" returned status code 128: Cloning into 'C:\Users\a.ruffie\.jenkins\workspace\game-of-life-default'... Permission denied (publickey). fatal: The remote end hung up unexpectedly at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:776) at hudson.plugins.git.GitAPI.access$000(GitAPI.java:38) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:241) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:221) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.git.GitAPI.clone(GitAPI.java:221) ... 12 more Caused by: hudson.plugins.git.GitException: Command "C:\Java\Git\bin \git.exe clone --progress -o origin git@github.com:adryen31/game-of- life.git C:\Users\a.ruffie\.jenkins\workspace\game-of-life-default" returned status code 128: Cloning into 'C:\Users\a.ruffie\.jenkins \workspace\game-of-life-default'... Permission denied (publickey). fatal: The remote end hung up unexpectedly at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:771) ... 18 more 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:1041) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970) at hudson.FilePath.act(FilePath.java:788) at hudson.FilePath.act(FilePath.java:770) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970) at hudson.model.AbstractProject.checkout(AbstractProject.java: 1195) at hudson.model.AbstractBuild $AbstractRunner.checkout(AbstractBuild.java:576) at hudson.model.AbstractBuild $AbstractRunner.run(AbstractBuild.java:465) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 5 years ago | adrien ruffie
    hudson.plugins.git.GitException: Could not clone
  3. 0

    Jenkins + GitHun issue

    Google Groups | 5 years ago | s s
    hudson.plugins.git.GitException: Could not clone
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jenkins and git over windows7 permission denied

    Google Groups | 5 years ago | adryen
    hudson.plugins.git.GitException: Could not clone
  6. 0

    jenkins and git over windows7 permission denied (Java Servers forum at JavaRanch)

    coderanch.com | 2 years ago
    hudson.plugins.git.GitException: Could not clone

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.plugins.git.GitException

      Could not clone

      at hudson.plugins.git.GitSCM$2.invoke()
    2. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1041)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:788)
      2. hudson.FilePath.act(FilePath.java:770)
      2 frames
    4. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:970)
      1 frame
    5. Hudson
      FreeStyleBuild.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465)
      4. hudson.model.Run.run(Run.java:1409)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      5 frames