The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Build fails with "filename too long"

Philipp Wieseckel
Contributor
December 20, 2023

We try to build a .Net Application on a local runner on Windows Server 2019. Unfortunately the build fails with the error of "filename too long".

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Charlie Misonne
Community Champion
December 21, 2023

Hi Philip,

I don't think that issue will be specific to Bitbucket.

Windows has its own max lenght for file names. With GIT there are ways to circumvent this.

Do you know if the error occurs after executing a git command in the build? (clone, fetch, checkout, ...)

If it's the case you can follow this article to set core.longpath. The article for Bamboo but it should be the same for any Windows server using GIT.

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events