hudson.plugins.git.GitException: Command "C:\CI\Git\bin\git.exe submodule update" returned status code 1: stdout: stderr: Cloning into 'include/portal_air'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Clone of 'git@bitbucket.org:mycomp/portal_air.git' into submodule path 'include/portal_air' 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 Ido Ran
, 6 months ago
Command "C:\CI\Git\bin\git.exe submodule update" returned status code 1: stdout: stderr: Cloning into 'include/portal_air'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access
via Google Groups by Unknown author, 3 months ago
Command "git submodule update --init --recursive" returned status code 1: stdout: stderr: Cloning into 'musl'... fatal: repository 'https://github.com/cloudius-systems/cloudius-systems/musl.git/' not found Clone of 'https://github.com/cloudius-systems/cloudius-systems/musl.git' into submodule path 'musl' failed
via Stack Overflow by Erik
, 2 years ago
Command "git submodule update --init --recursive" returned status code 1: stdout: stderr: Cloning into 'submodule/FolderName'... remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/Owner/SubModuleProject.git/' Clone of 'https://github.com/Owner/SubModuleProject.git' into submodule path 'submodule/FolderName' failed
via Google Groups by Unknown author, 3 months ago
Command "git submodule update --init --recursive" returned status code 1: stdout: stderr: error: The following untracked working tree files would be overwritten by checkout: tomcat/usr.manifest Please move or remove them before you can switch branches. Aborting Unable to checkout 'e138453f614f41ab940bfa6a4fcc40519ca9af0f' in submodule path 'apps'
via Google Groups by Unknown author, 3 months ago
Command "git submodule update --init --recursive" returned status code 1: stdout: stderr: error: The following untracked working tree files would be overwritten by checkout: tomcat/usr.manifest Please move or remove them before you can switch branches. Aborting Unable to checkout 'e138453f614f41ab940bfa6a4fcc40519ca9af0f' in submodule path 'apps'
via Stack Overflow by user2631836
, 2 years ago
denied (publickey,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
hudson.plugins.git.GitException: Command "C:\CI\Git\bin\git.exe submodule update" returned status code 1: stdout: stderr: Cloning into 'include/portal_air'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Clone of 'git@bitbucket.org:mycomp/portal_air.git' into submodule path 'include/portal_air' failed
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1406)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:87)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$6.execute(CliGitAPIImpl.java:741)
at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:77)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580)
at hudson.model.Run.execute(Run.java:1684)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
4 more bugmates

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