https://issues.jenkins-ci.org/browse/JENKINS-29243 may also be of interest.

On Sun, Apr 3, 2016 at 5:03 AM Mark Waite <[email protected]> wrote:

> Are you certain that your git version supports submodules?  You didn't
> mention the version of command line git you're using, so we can't tell if
> it is supported by the plugin.  The plugin needs at least 1.7.10, and is
> better with even newer versions.
>
> If you're having Jenkins install your own copy of git, rather than using a
> copy installed by the operating system, you may want to read
> https://issues.jenkins-ci.org/browse/JENKINS-30755 to see if the
> information in that report helps you.
>
> The error output seems to be coming from command line git (since it is
> prefixed with "stderr:" and that string does not appear in the git plugin
> or the git client plugin).
>
> You may also want to test drive a newer version of Jenkins and a newer
> version of the git plugin, in case they are better behaved in that area.
> I'm not aware of any changes that would be relevant, but those versions are
> at least 18 months old.  A Docker instance is available which allows you to
> test drive new Jenkins versions more easily.
>
> Mark Waite
>
> On Sun, Apr 3, 2016 at 1:43 AM Tidhar Klein Orbach <[email protected]>
> wrote:
>
>> Hi,
>>
>> i'm trying to checkout a git repository with git submodules suing jenkins
>> git plugin.
>> I checked the "Recursively update submodules" option, but I get an error:
>>
>> FATAL: Command "/DATA/my_slave/tools/git/git submodule update --init 
>> --recursive" returned status code 1:*10:37:41* stdout: *10:37:41* stderr: 
>> error: unknown option `separate-git-dir'
>>
>>
>> my jenkins is 1.565.3
>>
>> git-plugin 2.2.12
>>
>>
>> the parent git repository is at the inner work network and the submodules 
>> are at github.
>>
>>
>> thanks,
>>
>> Tidhar
>>
>> --
>> 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/CAGGeGtmj46Wt%2B6A8AC8vDG%3DgiAi525LOjPbccS6KQv-K8z-oVQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAGGeGtmj46Wt%2B6A8AC8vDG%3DgiAi525LOjPbccS6KQv-K8z-oVQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/CAO49JtEU75CasfJoD6KEjRQZJ8wDQem10tk6tz3JSq%2ByoRHU3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to