• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • bitbucket-plugin
    • linux

      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'

          [JENKINS-52921] Impossible to make a build from bitbucket

          Julien Isere created issue -
          Julien Isere made changes -
          Epic Link New: JENKINS-48351 [ 186945 ]
          Julien Isere made changes -
          Description Original: 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'
          New: 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'
          Christian Höltje made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: