Bamboo build works all the way so rest of stash / git integration works as far as clone / checkout is concerned.
But when Bamboo attempts the plan branch merge and push, I get the following error. I don't know what is running at 127.0.0.1:39399 where bamboo is trying to connect for a git server and why it fails authentication.
Push command error: Warning: Permanently added '[127.0.0.1]:39399' (RSA) to the list of known hosts. fatal: remote error: Not authenticated Please authenticate and try your request again. fatal: The remote end hung up unexpectedly
In the atlassian-bamboo.log:
2014-03-05 15:22:20,675 WARN [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-15] [ChainExecutionManagerImpl] Exception during push: command /usr/bin/git push ssh://0f041d59-7d1f-4429-8f16-e1b31c8dfac2@127.0.0.1:39399/kon/kumo-one.git feature/KON-2-test-jira-bamboo-integration failed with code 128. Working directory was [/opt/atlassian/bamboo-home/xml-data/build-dir/serverSide/KONE-K1CI1-10/mergeWorkspace]., stderr:
Warning: Permanently added '[127.0.0.1]:39399' (RSA) to the list of known hosts.
fatal: remote error: Not authenticated
Please authenticate and try your request again.
fatal: The remote end hung up unexpectedly