You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/11/05 17:06:27 UTC

[jira] [Created] (INFRA-10724) Windows path too long on Jenkins & Git

Tibor Digana created INFRA-10724:
------------------------------------

             Summary: Windows path too long on Jenkins & Git
                 Key: INFRA-10724
                 URL: https://issues.apache.org/jira/browse/INFRA-10724
             Project: Infrastructure
          Issue Type: Bug
          Components: Git, Jenkins
            Reporter: Tibor Digana
            Priority: Blocker


Please enable Git variable "core.longPaths=true" on Jenkins Windows.
Please install  MsysGit 2.6.2  as prereq.
This should workaround the GIT errors when commands failed on long file paths.

As found by our discussions [1] in closed blockers, all the issues we had on Jenkins [5] in Surefire project was caused by long path on Windows.

This can be fixed by using git variable "core.longpaths" [2] MsysGit 2.6.2 [3]. See the Release Notes [4].

Example on how to apply it [6] in reality:
git clone -c core.longPaths=true ...

The variable was fixed in Git 2.6.2, see GitHub issue [7].

[1]
https://issues.apache.org/jira/browse/INFRA-10650
https://issues.apache.org/jira/browse/INFRA-10657

[2]
https://github.com/git-for-windows/git/blob/1687e38d2d35101dca475096014775e067e66a55/Documentation/config.txt#L724-L729

[3] https://git-scm.com/download/win

[4] https://github.com/git-for-windows/git/blob/1687e38d2d35101dca475096014775e067e66a55/Documentation/config.txt#L724-L729

[5] https://builds.apache.org/job/maven-surefire-windows/

[6] https://github.com/git-for-windows/build-extra/blob/master/installer/ReleaseNotes.md#known-issues

[7] https://github.com/git-for-windows/git/issues/277



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)