Bamboo build fails to pull code from Bitbucket server. I verified that the Access key from Bamboo is correctly installed on the Bitbucket repository.
com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.magees.net:7999/yars/yars-angular.git' to source directory '/home/bamboo/xml-data/build-dir/_git-repositories-cache/c731f4ff0fa4b7d057030f1469f6098d50c248cd'. command [/usr/bin/git fetch ssh://35e2c0e3-d359-4a77-9a0b-3073b01904d2@127.0.0.1:35973/yars/yars-angular.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/home/bamboo/xml-data/build-dir/_git-repositories-cache/c731f4ff0fa4b7d057030f1469f6098d50c248cd]., stderr: Warning: Permanently added '[127.0.0.1]:35973' (RSA) to the list of known hosts. fatal: The remote end hung up unexpectedly fatal: protocol error: bad pack header
After creating a new branch, code pull now works correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.