Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bamboo git submodule support confirmation

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 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

0 votes
Answer accepted

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?

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
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events