I'm having the same problem. Everything was working fine until some point.

On Tuesday, February 5, 2013 at 2:26:23 AM UTC-5, Julian wrote:
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/24ab11b3-1047-4e01-97ca-3067b69e7432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to