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]
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.