Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22022

Extracting an Artifact file in Pipelines Windows Runners with >= 260 characters file path fails

XMLWordPrintable

      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

      1. Use Pipelines Windows Runner
      2. Upload an Artifacts file from a long path location (more than or equal to 260 file path characters)
      3. 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:

              Unassigned Unassigned
              mcerezo Mark C
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: