We have a build plan configured against an internal git repository where it uses periodic repository polling for changes. When the build executes the first time after the Bamboo daemon starts, it hangs on checkout. We have determined that this is because the git ssh connection does not trust the host fingerprint. In order to fix it we have to open a terminal and run the git command using the information in the builds log (see below). It looks like it is abstracting the actual repository away from the build execution.
Is there a way to force bamboo to use a single port for ssh instead of it randomly picking one each and every time the bamboo daemon is started? Or is it possible to somehow configure bamboo to not use ssh for its internal polling? Or is it possible to configure the ssh task to auto accept the fingerprint?
Here is what shows in the log when we Stop the build and forcefully kill the build process. We then execute "ssh 2213afe7-34d0-48f2-b0b2-a001f813d8bb@127.0.0.1:1124" to allow us to accept the host fingerprint.
Executing Task 'Checkout Default Repository(3)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
(java.lang.RuntimeException : com.atlassian.bamboo.plugins.git.GitCommandException: command [E:\dev\git\git-1.7.9.preview20120201\bin\git.exe, fetch, ssh://2213afe7-34d0-48f2-b0b2-a001f813d8bb@127.0.0.1:1124/dsw-com-env, +refs/heads/2.7.0-SNAPSHOT:refs/heads/2.7.0-SNAPSHOT, --update-head-ok] failed. Working directory was `E:\BH\xml-data\build-dir\_git-repositories-cache\331d3864477b6b63a40bcb4eaf5c0c8452254a8f'. stderr: stdout: )