hudson.plugins.git.GitException: Command "git submodule update --init --recursive" returned status code 1: stdout: Initialized empty Git repository in /path/to/submodule/.git/ stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly Clone of 'ssh://git@server:2222/name/submodule.git' into submodule path 'name/submodule' failed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via jenkins-ci.org by Unknown author

Our Jenkins(J) is linked with Bitbucket(BB). A pull request(PR) is created in BB, then it's auto-built in J, then it's updated with a commit but BB doesn't update the branch, so J can't check it out. Solution: open the PR in BB web ui.

Solutions on the web

via Stack Overflow by Aditya
, 1 year ago
Command "git submodule update --init --recursive" returned status code 1: stdout: Initialized empty Git repository in /path/to/submodule/.git/ stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly Clone of 'ssh://git@server:2222/name/submodule.git' into submodule path 'name/submodule' failed
via sourceforge.net by Unknown author, 2 years ago
Command "git submodule update --init --recursive --remote" returned status code 1: stdout: stderr: From 46ee992..ac42dc3 next -> origin/next error: Your local changes to the following files would be overwritten by checkout: Aircraft
via GitHub by aleksandra-tarkowska
, 1 year ago
Command "git submodule update --init --recursive" returned status code 1: stdout: Cloning into 'components/tools/OmeroPy/scripts'... stderr: fatal: reference is not a tree: 1d0777da83c340501192fa67d377e907ad8ae6e4 Unable to checkout '1d0777da83c340501192fa67d377e907ad8ae6e4' in submodule path 'components/tools/OmeroPy/scripts'
via sourceforge.net by Unknown author, 2 years ago
Command "git submodule update --init --recursive" returned status code 1: stdout: Submodule path 'ADPvCam': checked out '5dc906ca2a57df86dc37c4aed251331ebbf89501' stderr: From ea673d7..5dc906c master -> origin/master fatal: reference is not
via GitHub by joshmoore
, 1 year ago
Command "git submodule update --init --recursive" returned status code 1: stdout: stderr: error: 'refs/remotes/origin/dev_4_4' exists; cannot create 'refs/remotes/origin/dev_4_4/latest/submodules' From git://github.com/snoopycrimecop/scripts
via Google Groups by Unknown author, 3 months ago
Command "git submodule update --init --recursive" returned status code 1: stdout: stderr: fatal: reference is not a tree: ad847290845a1de6fe687e07574988b77d195c23 Unable to checkout 'ad847290845a1de6fe687e07574988b77d195c23' in submodule path 'apps'
hudson.plugins.git.GitException: Command "git submodule update --init --recursive" returned status code 1: stdout: Initialized empty Git repository in /path/to/submodule/.git/ stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly Clone of 'ssh://git@server:2222/name/submodule.git' into submodule path 'name/submodule' failed
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:86)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$6.execute(CliGitAPIImpl.java:893)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.