Background info: I am running bamboo on solaris with a local machine account(account name wire). My mercurial repository is also located on this solaris machine (/repos/myrepository). I have a remote agent running on a windows machine on the same network running with a domain account as a service(svcbamboo). I also created a LDAP account for the unix side, also naming it svcbamboo. I configured the windows svcbamboo and unix svcbamboo to use tortoisePlink and generated ssh keys for authentication.
When I log in to the windows machine as svcbamboo and try and clone one of the mercurial repositories everything works fine.
When I kick off a build in bamboo with the repository pointed at /repos/myrepository and run it on the unix build agent it works fine. However, when I then try and run it on the windows build agent (after subsituting the variable for ssh for that agent) and changing the repository to ssh it fails.
Is there a way to manually specify which way bamboo checks out the repository? I want to be able to check out the repository both locally on the unix machine and remotely using ssh from the windows machine. I would prefer not to have to write a script to do it on bamboo as that is another piece of code I will have to maintain as a developer.
Well after getting a co-worker to help me out and double check everything it looks like I just simply forgot to add the local user's (wire) public key to the LDAP user (svcbamboo). Once we did that bamboo was able to use ssh to check out the mercurial repository just fine.
It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...
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!
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