You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
we are getting the following error during jenkins build
ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git fetch --tags --progress email@example.com:XXXX/XXX.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Warning: Permanently added 'bitbucket.org,XXXXX' (RSA) to the list of known hosts.
fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
G'Day @sivakumar karthikesan
Welcome to the community!
The error you are seeing can be caused by multiple reasons such as:
I would suggest starting with your repositories size, if it's larger than 1GB tried to reduce the size further and create a support ticket to trigger GC.
As for the network, this is very hard to investigate since it requires an in-depth network investigation to understand why the connection is dropped. If you have any firewall/proxy in between your server and external network I would suggest you start from there.
Regarding Jenkin Bug, I did notice a recent bug/issue raised by one of the Jenkin users reporting having an issue cloning repositories after they upgrade the Jenkin/plugin version at:
I hope this helps!