we are getting the following error during jenkins build
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress git@bitbucket.org:XXXX/XXX.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: Warning: Permanently added 'bitbucket.org,XXXXX' (RSA) to the list of known hosts.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed