Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
Severity 3 - Minor
-
518
-
5
-
Description
Issue Summary
Currently, if you're using Pipelines Windows Runners and you're extracting a file with more than or equal to 260 file path characters it causes Pipelines build to fail.
Steps to Reproduce
- Use Pipelines Windows Runner
- Upload an Artifacts file from a long path location (more than or equal to 260 file path characters)
- Once uploaded, extract it on in a Pipelines build
Expected Results
The Pipelines Windows Runner should be able to extract the Artifact file
Actual Results
The Pipelines Windows Runner build is failing to extract an artifact file with >= 260 file path characters.
Error message in the Runner build log:
+ CategoryInfo : WriteError: (LICENSE:FileInfo) [Copy-Item], DirectoryNotFoundException + FullyQualifiedErrorId : CopyDirectoryInfoItemIOError,Microsoft.PowerShell.Commands.CopyItemCommand
Workaround
A few workarounds would be to:
- Using a short file path location (e.g. "E:\r\tmp")
- Change the default maximum characters in Windows (For Windows 10) - See relevant links below