Create
cancel
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 remote agent unable to ssh the Bitbucket Server

I have Bamboo running on Linux server and installed a remote agent on windows server. Trying to run the build using remote agent and  error in Bamboo build log, error: Cannot fetch branch '(unresolved) HashAndSource{refName=[null], branch=[feature/test], hash[somevalue],}' from 'ssh://git@comanyurl/project.git'

Error log:

Build MuleSoft -SampleMule -Default Job 2 : Error occurred while running task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.

This error may have occurred due to an authentication issue with Bitbucket Server. Save the repository configuration to refresh the authentication details or manually add the access key visible in "Advanced" section to Bitbucket Server.

I have tried generating ssh key in windows build server (where remote agent installed) and copied to Bitbucket server (ssh keys). still getting same ssh/authentication error.

 

Any help would be appreciated, TIA!

1 answer

1 accepted

0 votes
Answer accepted

I fixed the issue by installing git executable in E:\Tools\ (where I have installed the remote agent) and updated capability git executable path in Bamboo.

Suggest an answer

Log in or Sign up to answer
TAGS
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...

197 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