Compilation failure #7
Open
Tim Jenkins testing / Jenkins
failed
May 13, 2024 in 6s
Declarative: Checkout SCM: error in 'checkout' step
Declarative: Checkout SCM / Check out from version control
Error in checkout
step.
Error fetching remote repo 'origin'
Build log
The recommended git tool is: NONE
using credential ssh
> git rev-parse --resolve-git-dir /Users/timja/code/jenkins/github-checks-plugin/work/workspace/junit-attachments_PR-7/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@github.com:timja-org/junit-attachments-test.git # timeout=10
Fetching without tags
Fetching upstream changes from git@github.com:timja-org/junit-attachments-test.git
> git --version # timeout=10
> git --version # 'git version 2.43.0'
using GIT_SSH to set credentials
Verifying host key using known hosts file
> git fetch --no-tags --force --progress -- git@github.com:timja-org/junit-attachments-test.git +refs/pull/7/head:refs/remotes/origin/PR-7 +refs/heads/master:refs/remotes/origin/master # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from git@github.com:timja-org/junit-attachments-test.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:999)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1241)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1305)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: hudson.plugins.git.GitException: Command "git fetch --no-tags --force --progress -- git@github.com:timja-org/junit-attachments-test.git +refs/pull/7/head:refs/remotes/origin/PR-7 +refs/heads/master:refs/remotes/origin/master" returned status code 128:
stdout:
stderr: 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:2842)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2185)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:635)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:997)
... 12 more
Details
- Declarative: Checkout SCM (2.9 sec)
Error: Error fetching remote repo 'origin'
Loading