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/.
G'day, @daviti_kenkadze
Welcome to the community!
Can you raise a support ticket with us on our Support portal so we can troubleshoot the issue further?
Thanks!
Syahrul
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.