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] [Closed] (INFRA-10724) Windows path too long on Jenkins & Git
Date Thu, 17 Dec 2015 16:01:46 GMT

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

Tibor Digana closed INFRA-10724.
--------------------------------
    Resolution: Fixed

[~ipv6guru]
After I removed git clean in Jenkins the build passed three times.
Maybe enabling long paths helped as well.
https://builds.apache.org/job/maven-surefire-windows/
Thx for help.

> 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)

Mime
View raw message