-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins ver. 1.450
Windows 7
Tomcat 6.0.33
ant 1.1
javadoc 1.0
Jenkins build timeout plugin 1.8
CVS Plugin 1.6
Maven Integration plugin 1.450
Subversion Plugin 1.34
Jenkins GIT plugin 1.1.15
Git Parameter Plug-In 0.1
github-api 1.16
Github Authentication plugin 0.9
GitHub plugin 1.0
Jenkins SSH Slaves plugin 0.21
Jenkins Translation Assistance pluginJenkins ver. 1.450 Windows 7 Tomcat 6.0.33 ant 1.1 javadoc 1.0 Jenkins build timeout plugin 1.8 CVS Plugin 1.6 Maven Integration plugin 1.450 Subversion Plugin 1.34 Jenkins GIT plugin 1.1.15 Git Parameter Plug-In 0.1 github-api 1.16 Github Authentication plugin 0.9 GitHub plugin 1.0 Jenkins SSH Slaves plugin 0.21 Jenkins Translation Assistance plugin
Hello all,
I try to checkout a git project in one Jenkins build, but the
following error occurs:
Any one have an idea ?
I think the problem is linked to my RSA public key, but I have copy/
paste in "ssh public keys" into github.com and my account
I have use the id_rsa.pub into my C:\Users\a.ruffie\.jenkins
Thank for reading
Best regards Adrien
Démarré par l'utilisateur anonymous
Building in workspace C:\Users\a.ruffie\.jenkins\workspace\game-of-
life-default
Checkout:game-of-life-default / C:\Users\a.ruffie\.jenkins\workspace
\game-of-life-default - hudson.remoting.LocalChannel@4c032069
Using strategy: Default
Checkout:game-of-life-default / C:\Users\a.ruffie\.jenkins\workspace
\game-of-life-default - hudson.remoting.LocalChannel@4c032069
Cloning the remote Git repository
Cloning repository origin
ERROR: Error cloning remote repo 'origin' : Could not clone
git@github.com:adryen31/game-of-life.git
hudson.plugins.git.GitException: Could not clone
git@github.com:adryen31/game-of-life.git
at hudson.plugins.git.GitAPI.clone(GitAPI.java:245)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1029)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970)
at hudson.FilePath.act(FilePath.java:788)
at hudson.FilePath.act(FilePath.java:770)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970)
at hudson.model.AbstractProject.checkout(AbstractProject.java:
1195)
at hudson.model.AbstractBuild
$AbstractRunner.checkout(AbstractBuild.java:576)
at hudson.model.AbstractBuild
$AbstractRunner.run(AbstractBuild.java:465)
at hudson.model.Run.run(Run.java:1409)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at
hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
Caused by: hudson.plugins.git.GitException: Error performing command:
C:\Java\Git\bin\git.exe clone --progress -o origin
git@github.com:adryen31/game-of-life.git C:\Users\a.ruffie\.jenkins
\workspace\game-of-life-default
Command "C:\Java\Git\bin\git.exe clone --progress -o origin
git@github.com:adryen31/game-of-life.git C:\Users\a.ruffie\.jenkins
\workspace\game-of-life-default" returned status code 128: Cloning
into 'C:\Users\a.ruffie\.jenkins\workspace\game-of-life-default'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:776)
at hudson.plugins.git.GitAPI.access$000(GitAPI.java:38)
at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:241)
at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:221)
at hudson.FilePath.act(FilePath.java:788)
at hudson.FilePath.act(FilePath.java:770)
at hudson.plugins.git.GitAPI.clone(GitAPI.java:221)
... 12 more
Caused by: hudson.plugins.git.GitException: Command "C:\Java\Git\bin
\git.exe clone -progress -o origin git@github.com:adryen31/game-of
life.git C:\Users\a.ruffie\.jenkins\workspace\game-of-life-default"
returned status code 128: Cloning into 'C:\Users\a.ruffie\.jenkins
\workspace\game-of-life-default'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:771)
... 18 more
Trying next repository
ERROR: Could not clone repository
FATAL: Could not clone
hudson.plugins.git.GitException: Could not clone
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1041)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:970)
at hudson.FilePath.act(FilePath.java:788)
at hudson.FilePath.act(FilePath.java:770)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:970)
at hudson.model.AbstractProject.checkout(AbstractProject.java:
1195)
at hudson.model.AbstractBuild
$AbstractRunner.checkout(AbstractBuild.java:576)
at hudson.model.AbstractBuild
$AbstractRunner.run(AbstractBuild.java:465)
at hudson.model.Run.run(Run.java:1409)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at
hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)