You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2015/12/16 22:50:47 UTC

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

     [ https://issues.apache.org/jira/browse/INFRA-10724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated INFRA-10724:
--------------------------
    Status: Waiting for user  (was: Waiting for Infra)

'Git for Windows' is a fork/replacement for msysgit; you have a mixture of the two above.

I have been using 'Git for Windows' on our Windows boxes for couple of years now so will stick to that.
I have upgraded our current version and enabled longpaths; give it a whirl.

> 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
>            Assignee: Gavin
>            Priority: Blocker
>
> Please enable Git variable "core.longPaths=true" on all GIT commands in Jenkins Windows build [8]. IMHO this should work at least for clone and git clean -fdx.
> Please install  MsysGit 2.6.2  as prereq.
> This should workaround the GIT errors when "git clean -fdx" 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].
> An example on how to apply the variable [6] in reality:
> git clone -c core.longPaths=true ...
> The variable was fixed or introduced 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
> [8] https://builds.apache.org/job/maven-surefire-windows/



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