hudson.plugins.git.GitException: Command "git fetch -t https-remote +refs/heads/*:refs/remotes/https-remote/*" returned status code 128: stdout: stderr: fatal: 'https-remote' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Jenkins JIRA | acdha | 4 years ago
  1. 0

    I have a project configured with two remotes. One uses SSH and the other uses HTTPS: ssh://site-user@platinum.example.org/opt/site https://git.example.org/site.git Both of these work from the command-line (e.g. "git clone …") and both worked with 1.1.26. With 1.2, only the SSH remote is added (e.g. "git remote show" will only list that remote – and it's always the SSH remote, no matter what order I create the remotes in the config. Builds will fail with this error: {noformat} git --version git version 1.8.1.5 Fetching upstream changes from ssh-remote Fetching upstream changes from https-remote ERROR: Problem fetching from https-remote / https-remote - could be unavailable. Continuing anyway. hudson.plugins.git.GitException: Command "git fetch -t https-remote +refs/heads/*:refs/remotes/https-remote/*" returned status code 128: stdout: stderr: fatal: 'https-remote' does not appear to be a git repository 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:772) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:160) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1023) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:941) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:941) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1113) at hudson.model.AbstractProject.checkout(AbstractProject.java:1342) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588) at hudson.model.Run.execute(Run.java:1567) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) {noformat} I've reverted back to 1.1.26 for the moment.

    Jenkins JIRA | 4 years ago | acdha
    hudson.plugins.git.GitException: Command "git fetch -t https-remote +refs/heads/*:refs/remotes/https-remote/*" returned status code 128: stdout: stderr: fatal: 'https-remote' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
  2. 0

    I have a project configured with two remotes. One uses SSH and the other uses HTTPS: ssh://site-user@platinum.example.org/opt/site https://git.example.org/site.git Both of these work from the command-line (e.g. "git clone …") and both worked with 1.1.26. With 1.2, only the SSH remote is added (e.g. "git remote show" will only list that remote – and it's always the SSH remote, no matter what order I create the remotes in the config. Builds will fail with this error: {noformat} git --version git version 1.8.1.5 Fetching upstream changes from ssh-remote Fetching upstream changes from https-remote ERROR: Problem fetching from https-remote / https-remote - could be unavailable. Continuing anyway. hudson.plugins.git.GitException: Command "git fetch -t https-remote +refs/heads/*:refs/remotes/https-remote/*" returned status code 128: stdout: stderr: fatal: 'https-remote' does not appear to be a git repository 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:772) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:160) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1023) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:941) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:941) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1113) at hudson.model.AbstractProject.checkout(AbstractProject.java:1342) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588) at hudson.model.Run.execute(Run.java:1567) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) {noformat} I've reverted back to 1.1.26 for the moment.

    Jenkins JIRA | 4 years ago | acdha
    hudson.plugins.git.GitException: Command "git fetch -t https-remote +refs/heads/*:refs/remotes/https-remote/*" returned status code 128: stdout: stderr: fatal: 'https-remote' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
  3. 0

    GeoServer - Dev - Build failed in Jenkins: geoserver-master-nightly #703

    nabble.com | 1 year ago
    hudson.plugins.git.GitException: Command "git fetch -t origin +refs/heads/*:refs/remotes/origin/*" returned status code 1: stdout: stderr: error: Ref refs/remotes/origin/2.7.x is at 029542108b28786cdb9909d53f040aeaff8c0cac but expected 531aea6a7cf061992504fbe03ab4241453906a99 >From git://github.com/geoserver/geoserver  ! 531aea6..0295421  2.7.x      -> origin/2.7.x  (unable to update local ref)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [PDI-10463] MongoDB Plugin is not being assembled into PDI EE CI - Pentaho BI Platform Tracking

    pentaho.com | 1 year ago
    hudson.plugins.git.GitException: Command "git fetch -t origin +refs/heads/ :refs/remotes/origin/ " returned status code 128: stdout: stderr: ERROR: Repository not found. fatal: The remote end hung up unexpectedly
  6. 0

    Jenkins won't connect to TFS-GIT repository

    Stack Overflow | 3 years ago | user3491575
    hudson.plugins.git.GitException: Failed to connect to http://thehost:8080/tfs/path/_git/reponame (status = 401)

    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

      Command "git fetch -t https-remote +refs/heads/*:refs/remotes/https-remote/*" returned status code 128: stdout: stderr: fatal: 'https-remote' does not appear to be a git repository 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()
    2. org.jenkinsci.plugins
      CliGitAPIImpl.fetch
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:772)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:160)
      3 frames
    3. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1023)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:941)
      2 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:865)
      2. hudson.FilePath.act(FilePath.java:838)
      2 frames
    5. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:941)
      2. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1113)
      2 frames
    6. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1342)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:683)
      2 frames
    7. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:588)
      2. hudson.model.Run.execute(Run.java:1567)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:237)
      5 frames