I think it is because Jenkins has no auth to fetch git@xxxxxx, because Jenkins's machine has no private key to this repo.
Triggered by Ziming Dong GitLab Merge Request #10: zeuszhang/master => master
Building in workspace /home/suiyuan2009/.jenkins/jobs/big-data-box/workspace
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from 2 remote Git repositories
> /usr/bin/git config remote.big-data-box.url git@162.105.30.2:zeuszhang/big-data-box.git # timeout=10
Fetching upstream changes from git@162.105.30.2:zeuszhang/big-data-box.git
> /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials
> /usr/bin/git fetch --tags --progress git@162.105.30.2:zeuszhang/big-data-box.git +refs/heads/*:refs/remotes/big-data-box/*
ERROR: Error fetching remote repo 'big-data-box'
hudson.plugins.git.GitException: Failed to fetch from g...@162.105.30.2:zeuszhang/big-data-box.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:797)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1051)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1082)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git fetch --tags --progress g...@162.105.30.2:zeuszhang/big-data-box.git +refs/heads/*:refs/remotes/big-data-box/*" returned status code 128:
stdout:
stderr: GitLab: The project you were looking for could not be found.
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:1752)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1495)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:795)
... 11 more
ERROR: null
Finished: FAILURE
this repo, git@162.105.30.2:zeuszhang/big-data-box.git, is from another user, jenkins has no private key for it. How to configure Jenkins?
this repo, git@162.105.30.2:zeuszhang/big-data-box.git, is from another user, jenkins has no private key for it. How to configure Jenkins?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fd606eb3-8392-4bff-9cc5-e4688ab6de88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49947ad1-05f1-4487-87ee-b9d800f057cf%40googlegroups.com.
The git plugin supports http, https and ssh.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/757be631-a7fd-48eb-9a9c-64bb4cbc91c8%40googlegroups.com.