Bamboo git submodule support confirmation Edited

I have had some failed attempts to utilise git submodules in my git project. The repository is classified as a BitBucket one with submodules checked in advanced. The logs in the build however read as "host key verification failed". I have tried configuring ssh keys on the Windows remote agent (running as a service) and can correctly execute git submodule update on the server directly using git bash logged in as that user.
Then I came across this older post https://community.atlassian.com/t5/Answers-Developer-Questions/Does-Bamboo-support-Git-submodules/qaq-p/560044 which suggests that the support is limited in bamboo for submodules.

Currently we are adopting the multiple repository checkout approach as a work around but some of my colleagues prefer to use submodules. Can Atlassian confirm whether Bamboo support for git submodules has improved and if so in what version?

Alternatively it seems to me that the Bamboo agent is not correctly mapping its ssh keys at build time during a repository checkout. Is there something I'm missing?

2 answers

1 accepted

This widget could not be displayed.

I've fixed this up by correctly setting up the HOME directory in the agent boxes. It would be nice to know if Atlassian every plan on adding more support for submodules in the future. 

I'm getting the same issue. Can you clarify what you mean by setting up the home directory in the agent boxes?

This widget could not be displayed.

I'm just leaving a note here if someone comes up with a similar problem as I spent a lot of time figuring it out.

I had a similar issue when running the remote as a service but with a different fix: 

When the Service ("Bamboo Remote Agent") is created, it is created as the "Local System" user, instead you need to change it to your PC account user (the one that Git is linked to).

To do this just go to Windows Task Manager in the Services tab and on the "Services..." button in the bottom.

Right click on the "Bamboo Remote Agent" service and select Properties then in the "Log On" tab Log on as: this account...

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 6 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

38 views 0 8
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