I have a submodule in a project. I've enabled the advanced sub-modules behaviours in Jenkins. When I run the build, I get the following logs:

> git rev-parse --is-inside-work-tree
Fetching changes from the remote Git repository
> git config remote.origin.url g...@gitlab.company.ru:root/proj.git
Fetching upstream changes from g...@gitlab.company.ru:root/proj.git
> git --version
using GIT_SSH to set credentials git SSH key for jenkins
> git fetch --tags --progress g...@gitlab.company.ru:root/proj.git +refs/heads/:refs/remotes/origin/
> git rev-parse "origin/feature/feature-name^{commit}"
Checking out Revision 25ab8d87ab0ba4d9404e0bab121da02edfd1abe78c (origin/feature/feature-name)
> git config core.sparsecheckout
> git checkout -f 25ab8d87ab0ba4d9404bab121da02e91abe78c
> git rev-list 25ab8d87ab0ba4d9404e0bab1da02e91abe78c
Cleaning workspace
> git rev-parse --verify HEAD
Resetting working tree
> git reset --hard
> git clean -fdx
> git submodule foreach --recursive git reset --hard
> git submodule foreach git clean -fdx
> git remote
> git submodule init
> git submodule sync
> git config --get remote.origin.url
> git submodule update --remote
ERROR: Timeout after 10 minutes
[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA= [0mFATAL: Command "git submodule update --remote" returned status code -1:
stdout:
stderr:
[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA= [0mhudson.plugins.git.GitException: Command "git submodule update --remote" returned status code -1:
stdout:
stderr:
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1301)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1277)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1273)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1078)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$6.execute(CliGitAPIImpl.java:727)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Unknown Source)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to