Open
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
CopyFiles
Breaking task version
2.253.0
Last working task version
2.246.0
Regression Description
The new version of copy files task copied the symlink as folder, while it used to directly copy the target file of the symlink. This is failing our builds and blocking our production releases.
The code change seems to be Updated task-lib to v5 for CopyFilesV2 and ArchiveFilesV2 tasks (#20859) · microsoft/azure-pipelines-tasks@f3ff565 · GitHub
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Mariner
Relevant log output
System.IO.FileLoadException: Unable to load symbolic/hard linked file. Check 'fsutil behavior query SymlinkEvaluation' to ensure proper behavior.
---> System.IO.FileNotFoundException: Could not find file '/mnt/vss/_work/1/s/out/NotebookExtensions/node_modules/tmp/node_modules/.bin/rimraf/rimraf'.
File name: '/mnt/vss/_work/1/s/out/NotebookExtensions/node_modules/tmp/node_modules/.bin/rimraf/rimraf'
Full task logs with system.debug enabled
UNSUCCESSFUL RUN
[REPLACE THIS WITH YOUR INFORMATION]
SUCCESSFUL RUN
[REPLACE THIS WITH YOUR INFORMATION]