Skip to content

Instantly share code, notes, and snippets.

@sirramongabriel
Created April 27, 2020 18:19
Show Gist options
  • Save sirramongabriel/7f674866ce5f376eef0734063ecbbdd6 to your computer and use it in GitHub Desktop.
Save sirramongabriel/7f674866ce5f376eef0734063ecbbdd6 to your computer and use it in GitHub Desktop.

Started by user unknown or anonymous hudson.plugins.git.GitException: Command "git fetch --tags --progress --prune -- origin +refs/heads/e2e-tests:refs/remotes/origin/e2e-tests" returned status code 128: stdout: stderr: Load key "/var/lib/jenkins/caches/git-1c9c72e67638797008dc3ca4d7195c83@tmp/jenkins-gitclient-ssh4452361500527433848.key": invalid format git@github.com: Permission denied (publickey). 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:2430)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2044)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:81)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:569)
at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:361)
at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:197)
at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:173)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:115)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:69)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment