hudson.plugins.git.GitException: Failed to fetch from https://git-codecommit.us-east-1.amazonaws.com/v1/repos/sample_repo

GitHub | matsev | 3 months ago
  1. 0

    Jenkins fails to check out files stored on EFS using Git

    GitHub | 3 months ago | matsev
    hudson.plugins.git.GitException: Failed to fetch from https://git-codecommit.us-east-1.amazonaws.com/v1/repos/sample_repo
  2. 0

    Does not work with Pipeline script from SCM

    GitHub | 9 months ago | mikz
    hudson.plugins.git.GitException: Failed to fetch from git@github.com:org/repo.git
  3. 0

    1st run of a new PR job in the pipeline often fails in git operation.

    GitHub | 7 months ago | jsirois
    hudson.plugins.git.GitException: Failed to fetch from https://github.com/pantsbuild/pants.git
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Git fetch failure

    Google Groups | 6 months ago | Shannon Bigelow
    hudson.plugins.git.GitException: Failed to fetch from git@gitlab.xxx.com:xxx.git
  6. 0

    Currently you can specify multiple github sources in the configuration of a multibranch workflow project. However when it comes to resolving the headcommit for the triggering source, it defaults to looking in the repository for the first source. This is the result of that: hudson.plugins.git.GitException: Failed to fetch from https://github.com/**************************.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:108) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:85) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:206) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://github.com/*******************.git +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:808) ... 8 more GitHub has been notified of this commit’s build result ERROR: null Finished: FAILURE

    Jenkins JIRA | 6 months ago | Bryden Oliver
    hudson.plugins.git.GitException: Failed to fetch from https://github.com/**************************.git

    4 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

      Command "git -c core.askpass=true fetch --tags --progress https://git-codecommit.us-east-1.amazonaws.com/v1/repos/sample_repo +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: Reference directory conflict: refs/remotes/origin/

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn()
    2. org.jenkinsci.plugins
      CliGitAPIImpl$1.execute
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1740)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1476)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
      4 frames
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:797)
      2. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1055)
      3. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
      3 frames
    4. org.jenkinsci.plugins
      WorkflowRun.run
      1. org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
      2. org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:108)
      3. org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:57)
      4. org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:207)
      4 frames
    5. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:410)
      2 frames