-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1
-
Severity 2 - Major
-
Issue Summary
Cloning a Submodule with LFS files in a Pipeline result into "Authorization Error" with some specific build images
This is reproducible on Data Center: No
Steps to Reproduce
- Create a Pipeline in a main repository using build image Debian
- Create SSH keys in the Pipeline settings of the main repository
- Add the generated Public key in the Submodule repository
- Clone the submodule in the main repository
Expected Results
The submodule should be cloned without any issues
Actual Results
The submodule clone results into the following error
Cloning into '/opt/atlassian/pipelines/agent/build/tools'... Downloading <file> (<File Size>) Error downloading object: <object name>: batch response: Authorization error: https://bitbucket.org/<Repo_UUID>/info/lfs/objects/batch Check that you have proper access to the repository
Workaround
There are multiple workarounds
- Use the Atlassian Default image
- Use the Workspace Access Token or Repository Access token as per your requirement