Re: Enabling Windows long path support in Git plugin

2016-07-25 Thread Mark Waite
Sorry, no way that I can detect to force longpaths to be enabled other than
by configuring the git installation to have longpaths enabled (git config
--system).  The Jenkins git client plugin does not have any global override
for the system setting of longpaths.

Mark Waite

On Mon, Jul 25, 2016 at 12:13 PM Simon Richter 
wrote:

> Hi,
>
> On 25.07.2016 19:45, Mark Waite wrote:
>
> > $ git config --system core.longpaths true
>
> That is in essence what I did, the problem is that I'd have to do that
> on all of the build slaves, while ideally I'd like to have that as part
> of the project configuration so I don't end up having unexplained
> failures on newly commissioned slaves.
>
>Simon
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/6749ea39-3a3d-b0d4-8685-127073bd3343%40hogyros.de
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH%2BpUUpeP6Y1KJh04knGLN_Rm6FQd%3Drfm1A4gOzq%2B3sGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Enabling Windows long path support in Git plugin

2016-07-25 Thread Simon Richter
Hi,

On 25.07.2016 19:45, Mark Waite wrote:

> $ git config --system core.longpaths true

That is in essence what I did, the problem is that I'd have to do that
on all of the build slaves, while ideally I'd like to have that as part
of the project configuration so I don't end up having unexplained
failures on newly commissioned slaves.

   Simon

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6749ea39-3a3d-b0d4-8685-127073bd3343%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Enabling Windows long path support in Git plugin

2016-07-25 Thread Mark Waite
One way is:

$ git config --system core.longpaths true

My tests seem to indicate (at least on one machine) that msysgit 2.8.0 and
later seems to be enabling core.longpaths as true.  That is an observed
behavior, not anything I could confirm in the README or release notes, and
may be that I'm mistaken.

Mark Waite


On Mon, Jul 25, 2016 at 11:42 AM Simon Richter 
wrote:

> Hi,
>
> I'm trying to check out Boost, which has a file with a fairly long file
> name, so the checkout fails on Windows. This could be fixed apparently
> by setting the git setting core.longpaths to true.
>
> How can I add that setting to newly created workspaces?
>
>Simon
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/18c20057-3d6f-1257-0646-820dc73d858a%40hogyros.de
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHM9G2_2b1y6Q3T9ioyi90nTUkQ-_9TE8W0j7ygDFh3Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Enabling Windows long path support in Git plugin

2016-07-25 Thread Simon Richter
Hi,

I'm trying to check out Boost, which has a file with a fairly long file
name, so the checkout fails on Windows. This could be fixed apparently
by setting the git setting core.longpaths to true.

How can I add that setting to newly created workspaces?

   Simon

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/18c20057-3d6f-1257-0646-820dc73d858a%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature