www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-10724) Windows path too long on Jenkins & Git
Date Thu, 05 Nov 2015 16:13:27 GMT

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

Tibor Digana updated INFRA-10724:
---------------------------------
    Description: 
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 "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].

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

  was:
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


> 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 "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].
> 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)

Mime
View raw message