I'll give that a go. Thanks for your advice.

On 18 March 2015 at 16:07, Mark Waite <[email protected]> wrote:

> I'm not aware of a way to set other git parameters globally.  Since each
> global git parameter has the chance to surprise the git plugin with
> conditions it had never before seen, I'm hesitant to allow a lot of
> different global configuration settings.
>
> The e-mail and user name settings are required in order to avoid a warning
> / complaint from git.
>
> The core.longpath setting is a Windows specific setting, and it is
> accompanied by warnings in the msysgit documentation.  There are tests in
> the git client plugin GitAPITestCase that assert core.longpaths works as
> expected when using command line git.
>
> You could also consider enabling JGit and using JGit on your Windows
> machines.  The JGit implementation does not have the path length
> limitations of msysgit.
>
> Mark Waite
>
> On Wed, Mar 18, 2015 at 7:42 AM, RDR <[email protected]> wrote:
>
>> Hi,
>>
>> Hopefully this is a simple question and I'm missing something obvious....
>>
>> I'm running Jenkins on a Windows based OS and I'm pulling my code from
>> Git. However the job is failing with the message:
>>
>>      Could not checkout null with start point
>>
>>
>> After a bit of digging it turns out that the path for some of the files 
>> exceeds the Windows 260 character limit. Since I'm using git version 1.9.5 
>> I'd like to use the git
>> "core.longpaths true" setting to get around this problem...
>>
>> My question is how to enable this setting inside Jenkins. In the *Configure 
>> Jenkins* screen I can see options to set "user.name" and "user.email" but 
>> that's all.
>> I don't don't appear to be able set "core.longpaths" (or any other git 
>> configuration). Does Jenkins only support these two configuration options or 
>> have I missed something?
>>
>> Cheers
>>
>>
>>
>>
>>
>>
>>  --
>> 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/CAB9wPTQGtVqDKCANSYERi886gP5hd-4HXdn6wUEYrJ%2B9iLTBKw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAB9wPTQGtVqDKCANSYERi886gP5hd-4HXdn6wUEYrJ%2B9iLTBKw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Thanks!
> Mark Waite
>
> --
> 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/CAO49JtFtNk4dV_HezLvzLEG8sQGkhuJ%3DKX3X2rOPbbhmvRmO1Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFtNk4dV_HezLvzLEG8sQGkhuJ%3DKX3X2rOPbbhmvRmO1Q%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/CAB9wPTTQO0bguf8Q9yeP2zzrtHnU8hfYzOqGBfj8h-Noik93SQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to