-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set core.longpaths=true in all the windows containers used for builds #2847
Comments
Related pipeline that triggered the issue: https://github.com/jenkinsci/pipeline-model-definition-plugin/blob/master/Jenkinsfile (there might be others) ToDo list for the person of the infra team that would take this issue (can be me, can be someone else of the team):
|
i would just set it tbh |
Same here. I've mentioned that it's "hard" because it requires a contribution out of the scope of pure jenkins-infra. It's easy technically though, and coul be fast if it is merged quickly on the jenkinsci/docker-agents repo |
jenkinsci/git-plugin#856 attempted to add git plugin configuration for the I don't object to setting the global configuration value |
…s agents (#334) Ref: jenkins-infra/helpdesk#2847 Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> Co-authored-by: James Nord <jtnord@users.noreply.github.com>
Confirmed on a private channel, we can close this issue. Thanks for the new one! |
…s agents (jenkins-infra#334) Ref: jenkins-infra/helpdesk#2847 Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> Co-authored-by: James Nord <jtnord@users.noreply.github.com>
…s agents (jenkins-infra#334) Ref: jenkins-infra/helpdesk#2847 Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> Co-authored-by: James Nord <jtnord@users.noreply.github.com>
Service(s)
ci.jenkins.io
Summary
git on windows will barf if a file has a path length > 260 characters. Why this is the default do not ask me but still.
This causes some problems for plugins where files can not be checkedout (may be during some IT tests where the java.io.tmpdir is used whcih results in some longer paths than normal).
or it could be there is just a long path/filename in the git repo.
As such the containers should set on windows
core.longpaths
totrue
in the containers.ref: https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md#:~:text=Many%20Windows%20programs,core.longPaths%3Dtrue%20....
(additionally if the user running the container supports it symlinks core.symlinks shoulld be set)
Reproduction steps
No response
The text was updated successfully, but these errors were encountered: