Clonning repository in jenkins job has problem.
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- git@bitbucket.org:companyname/sis-deployment-scripts.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: [2024-07-12T16:18:58.323Z] stdout: [2024-07-12T16:18:58.323Z] stderr: Connection closed by 185.166.142.21 port 22 [2024-07-12T16:18:58.323Z] fatal: Could not read from remote repository.
Clonning sometimes works, sometimes doesn't. Your server has problem.
I've added this below with port 443 and without in ~/.ssh/config.
Host bitbucket.org
HostName bitbucket.org Identity
File ~/.ssh/id_rsa
Also, changed git@bitbucket.org:companyname/deployment-script-configs.git to ssh://git@altssh.bitbucket.org:443/companyname/deployment-script-configs/.