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 
<http://stacktrace.jenkins-ci.org/search?query=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.

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


Reply via email to