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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,499 views 0 5
Read article

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