hudson.plugins.git.GitException: Failed to fetch from ssh://git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git

Jenkins JIRA | Subeso Kun | 4 months ago
  1. 0

    After upgrading to Jenkins 2.7 I'm facing the issue that no longer the build parameters are getting set. E.g. "destinationCommitHash" and all the other build parameters that are usually getting set by this plugin are missing. Hence the Jenkins job will fail as it's not able to pull the PR commit. Before upgrading to Jenkins 2.7 everything worked as expected. {code} > git -c core.askpass=true fetch --tags --progress ssh://git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git +refs/pull-requests/*:refs/remotes/origin/pr/* ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from ssh://git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:799) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1055) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {code}

    Jenkins JIRA | 4 months ago | Subeso Kun
    hudson.plugins.git.GitException: Failed to fetch from ssh://git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git
  2. 0

    [JIRA] (JENKINS-37551) No build parameters are getting set after upgrading to Jenkins 2.7

    Google Groups | 4 months ago | sube...@gmail.com (JIRA)
    hudson.plugins.git.GitException: Failed to fetch from ssh:<span class="code-comment" style="color: #808080">//git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git
  3. 0

    Jenkins, bit bucket and Vagrant : cannot log in git

    Stack Overflow | 3 years ago | maxime
    hudson.plugins.git.GitException: Failed to fetch from git@bitbucket.org:myuser/myproject.git
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to connect to bitbucket using git from jenkins from tomcat installation in windows

    Stack Overflow | 2 years ago | Ana Franco
    hudson.plugins.git.GitException: Failed to fetch from git@bitbucket.org:mycompany/myrepo.git
  6. 0

    Frequent ssh connection failure to github

    Stack Overflow | 2 years ago
    hudson.plugins.git.GitException: Failed to fetch from git@github.com:myorganization/myproject

    3 unregistered visitors
    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

      Failed to fetch from ssh://git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git

      at hudson.plugins.git.GitSCM.fetchFrom()
    2. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:799)
      2. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1055)
      3. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
      3 frames
    3. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:485)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      3 frames
    4. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      2. hudson.model.Run.execute(Run.java:1741)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:410)
      5 frames