We are using Jenkins for our CI/CD process and we are using bitbucket as a code repository.
For few days our most of the jobs are getting failed due to the below error.
:42:24 ERROR: Error cloning remote repo 'origin' 15:42:24 hudson.plugins.git.GitException: Command "git fetch --tags --progress -- email@example.com:automationanywhere/cloudscript.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: 15:42:24 stdout: 15:42:24 stderr: fatal: The remote end hung up unexpectedly 15:42:24 fatal: protocol error: bad pack header 15:42:24 15:42:24 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2639) 15:42:24 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2079) 15:42:24 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:84) 15:42:24 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:601) 15:42:24 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:830)
Could you please help us to solve this issue ASAP?
Our repo size is also less.
I also checked the below link.
but, I have a question here, In my job, we are creating a new node each time and the fresh clone will happen. So In this case where I need to set this value?
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events