Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.2.12
-
None
-
3
-
Severity 3 - Minor
-
Description
Summary
When using source code checkout task for bitbucket repository with submodules in bamboo on Windows(with windows remote agent), the source code checkout task for submodule fails when SSH key applies to submodules option is enabled in the bamboo linked repository.
How to Replicate
- Install Bamboo on windows machine and configure windows remote agent(with git capability).
- Create a repository in bitbucket server with submodule/submodules.
- Link the bitbucket repository with use submodule and SSH key applies to submodules options enabled.
- Make sure the .gitmodule file URL has absolute path for the submodule repository and not relative path.(generally default is absolute path)
- Create a build job with source code checkout task for the repository.
- Source code checkout task which makes use of the temp key copied from bamboo server fails for the submodule git checkout task with below error:
Load key "C:\\Windows\\Temp\\pkey5326356327362343169.tmp": error in libcrypto
Expectation:
Source code checkout task for the submodule repository should be successful.
Workaround:
- Disable the option SSH key applies to submodules in the Linked repository.
- Modify the .gitmodule file to make use of the relative path of the submodule repository with respect to the primary repository. Ex :
[submodule "submodule_repo"] path = submodule_repo url = ssh:../../project_of_submodulerepo/submodule_repo.git
- This will make use of Bamboo-SSH-proxy for submodule authentication instead of the temporary private key file that is copied from bamboo sever to windows remote agent.
Attachments
Issue Links
- mentioned in
-
Page Loading...