Hi,
I have a repo that has a submodule from the same Bitbucket project. When cloning onto my PC, I can initialise and update the submodule without issue. All LFS files are successfully downloaded.
When trying to do this within a pipeline, it fails:
Cloning into '/opt/atlassian/pipelines/agent/build/tools'...
Downloading container/tool.tar.gz (486 MB)
Error downloading object: container/tool.tar.gz (1234): Smudge error: Error downloading container/tool.tar.gz (abcdefg12345): batch response: Authorization error: https://bitbucket.org/XXXX/info/lfs/objects/batch
Check that you have proper access to the repository
There are other none LFS submodules from the same project and the pipeline can clone those without a problem.
A similar issue is described here: https://confluence.atlassian.com/bitbucketserverkb/smudge-error-occurs-when-performing-git-operations-when-using-token-authentication-with-bitbucket-server-or-data-center-1189791625.html
but that relates to the Data Centre platform, not Cloud.
Adding lfs: true to the yaml file made no difference.
Why does the cloud pipeline have this problem?
After contacting support, the following ticket was created:
https://jira.atlassian.com/browse/BCLOUD-23561
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.