Unable to find current vision in submodule path 'corelibs''

288 views
Skip to first unread message

Julian

unread,
Feb 5, 2013, 2:26:23 AM2/5/13
to jenkins...@googlegroups.com
Hi, I'm having an issue where I can't get Jenkins to checkout a project that has a submodule in it (which contains further submodules), but I am able to do so myself.

For instance, if I manually run:

git clone [repository-url]
[chdir into repository]
git submodule update --recursive --init

Everything goes fine. Everything also goes fine if I manually do "git submodule init" and "git submodule update" as necessary, recursively. However, I seem to run into problems using Jenkins and get the following:

FATAL: Command "git submodule update" returned status code 1:
stdout: 
stderr: fatal: Needed a single revision
Unable to find current revision in submodule path 'corelibs'

hudson.plugins.git.GitException: Command "git submodule update" returned status code 1:
stdout: 
stderr: fatal: Needed a single revision
Unable to find current revision in submodule path 'corelibs'

	at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
 
Would anyone have any idea how I could go about fixing this? I'm not really too familiar with the inner workings of git, but the repositories seem to be okay since I can do everything by hand.

Cristian Zaloj

unread,
Jan 22, 2015, 12:30:22 AM1/22/15
to jenkins...@googlegroups.com
I'm having the same problem. Everything was working fine until some point.
Reply all
Reply to author
Forward
0 new messages