I currently have a Bitbucket Server license running on Server A, and would like to declare an existing folder to be my remote repository. Is it possible to set this folder as the repository path if this folder exists on a server other than the server Bitbucket is being hosted from?
I'm assuming you are talking about git submodules, please let me know if that is the case or not.
You can associate a different repository to a folder in your Bitbucket server and cloud repository, considering the repository behind the scenes is Git. This is not a special feature in Bitbucket, but a git feature that allows you to associate multiple repositories to the main repository.
Keep in mind that checking out this type of repository with its submodules requires different commands and the SSH keys of the sub repositories will need to be available in your server as well.
I strongly suggest you check this document(Git - Submodules) and run some tests with Bitbucket and your CI tool before following this path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.