Bamboo - Git Submodule with relative path

Hi,

I have a problem with Bamboo build from Git. The repository I'm using has submodules that are specified as relative paths (say repo is in http://stash/projA/repo.git and the submodule path is ../../projB/repo.git). This configuration works ok with clients I've used so far (SmartGit, SourceTree), but once I try to execute the build with Bamboo it tries to check out submodule from local file system path (d:\bamboohome\xml-data\projB\repo.git) which obviously fails. We use relative paths because it's very convinient (if user prefers ssh access all submodules are resolved with ssh, if standard http, submodules work with http). During bamboo build I use ssh authentication (I wanted to use the same ssh key for all repositories). Any ideas ?

UPDATE : It's a build on remote agent, bamboo 4.4.4 build 3506

Regards,

Lukasz

1 answer

1 accepted

This is an improvement request to the current bamboo-git plugin as relative paths are not yet supported. See https://jira.atlassian.com/browse/BAM-13178

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

63 views 3 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you