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 widget could not be displayed.

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 Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

222 views 1 3
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