Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you