Re: Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-15 Thread Victor Martinez
Thanks for the answers Do you happen to know if the folder `tmp\j h927479030425102413\workspace` could be shorted dynamically in the tests? Something like injecting the property before running the JenkinsRule? On Wednesday, 15 September 2021 at 07:21:45 UTC+1 db...@cloudbees.com wrote: > On

Re: Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-15 Thread Daniel Beck
On Tue, Sep 14, 2021 at 10:38 PM Tim Jacomb wrote: > Apart from the other suggestions shortening the name would help, from the > above example you should be able to remove both Jenkins and plugin > > Likely to be already part of persisted configurations, so would need Xstream aliases, doesn't

Re: Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-14 Thread Tim Jacomb
Apart from the other suggestions shortening the name would help, from the above example you should be able to remove both Jenkins and plugin The reg key fix would hopefully solve this though On Tue, 14 Sep 2021 at 18:34, Slide wrote: > Yes, it would need to be added to the images for the

Re: Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-14 Thread Slide
Yes, it would need to be added to the images for the infra. On Tue, Sep 14, 2021 at 10:22 AM 'Gavin Mogan' via Jenkins Developers < jenkinsci-dev@googlegroups.com> wrote: > Isn't all the advice specific to building locally? The problem was stated > on CI.jenkins > > So I'm guessing an infra

Re: Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-14 Thread 'Gavin Mogan' via Jenkins Developers
Isn't all the advice specific to building locally? The problem was stated on CI.jenkins So I'm guessing an infra ticket/pr to enable the Reg key?and maybe agents should be on the root instead of users Jenkins work? On Tue., Sep. 14, 2021, 9:53 a.m. Slide, wrote: > You could try this when

Re: Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-14 Thread Slide
You could try this when building the images for Windows: reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 This should enable long file names in the OS itself On Tue, Sep 14, 2021 at 9:09 AM Mark Waite wrote: > I've not found a

Re: Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-14 Thread Mark Waite
I've not found a technique that resolves the issue for all cases. Some of the techniques we've tried with varying levels of non-success have included: - Shorten the job name and file path as much as possible (C:\J instead of C:\Users\Jenkins\Work) (helps, but doesn't fix it, could be

Filename too long issues in https://ci.jenkins.io/ on Windows workers

2021-09-14 Thread Victor Martinez
Hi all, Is there any specific configuration I could apply permanently to avoid the below error that happens in https://ci.jenkins.io/ when running the tests on Windows? > git.exe init C:\Users\jenkins\Work\workspace\gins_opentelemetry-plugin_PR-167\target\tmp\j