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

Impossible to make a build from bitbucket

    Details

    • Similar Issues:

      Description

      Before, that commands has worked fine ..

      Now we have this error : 

      ERROR: Error fetching remote repo 'origin'
      hudson.plugins.git.GitException: Failed to fetch from git@bitbucket.org:mycompany/license_packs.git
      at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
      at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
      at hudson.scm.SCM.checkout(SCM.java:495)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      at hudson.model.Run.execute(Run.java:1724)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:421)
      Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git@bitbucket.org:mycompany/license_packs.git +refs/heads/:refs/remotes/origin/" returned status code 128:
      stdout:
      stderr: ssh: connect to host bitbucket.org port 22: Network is unreachable
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2016)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1735)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:420)
      at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:886)
      ... 11 more
      ERROR: Error fetching remote repo 'origin'

        Attachments

          Activity

          Hide
          docwhat Christian Höltje added a comment -

          Check your network. It is unable to reach bitbucket.org.

          Closing.

          Show
          docwhat Christian Höltje added a comment - Check your network. It is unable to reach bitbucket.org. Closing.

            People

            • Assignee:
              Unassigned
              Reporter:
              julien_isere Julien Isere
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: