Hello, guys. Sometimes I get git error in my Jenkins Pipelines:
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --prune -- origin +refs/heads/master:refs/remotes/origin/master" returned status code 128:
stderr: ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
I understand this may be for various reasons, but I dont understand why "SCM checkout retry count" Jenkins option doesn't work. I set it to 50