From time to time we receive error when getting SCM changes from Git repository.
09:44:29,628 [master>Git
checkout@xx:8811] ERROR - ssh_exchange_identification: Connection closed by remote host
09:44:29,629 [master>Git
checkout@xx:8811] ERROR - fatal: The remote end hung up unexpectedly
09:44:29,631 [master>Git
checkout@xx:8811] INFO - Executing post-execute action...
09:44:29,631 [master>Git
checkout@xx:8811] ERROR - Step 'master>Git checkout' is failed: Failed to run command: git fetch -q
Command return code: 128
Command error output: ssh_exchange_identification: Connection closed by remote host
fatal: The remote end hung up unexpectedly
It would be nice to have retry feature. I guess it could help not only for git errors but for other SCMs.
Setting retry count should be done both on global level and on repositry level
QB-2676