You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I tried to make an artifact of my node_modules. The artifact has all the files in it but after extracting, it fails on copying the same file every time. I think the windows runner thinks it's a directory instead of a file. I've watched the folders while the step was running and the artifact directory had all the files but the copy stops part way through with this error. It's always this file every time
Copy-Item : Could not find a part of the path 'E:\atlassian\atlassian-bitbucket-pipelines-runner\temp\82885005-9ced-516
+ Copy-Item -Path "E:\atlassian\atlassian-bitbucket-pipelines-runner\bi ...
+ CategoryInfo : WriteError: (LICENSE:FileInfo) [Copy-Item], DirectoryNotFoundException
+ FullyQualifiedErrorId : CopyDirectoryInfoItemIOError,Microsoft.PowerShell.Commands.CopyItemCommand
Hi @Patrick Bye,
Thanks for reaching out to the community.
I've confirmed this with our Bitbucket Pipelines team and this appears to be a limitation with the Windows maximum path length.
You can check this link for more information: Windows - Maximum Path Length Limitation
I've also gone ahead and created a public bug ticket for this that can be located through this link so that we can track it. - https://jira.atlassian.com/browse/BCLOUD-22022
As a workaround, you can try:
Hope it helps and do let me know how it goes.