Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error cloning remote repo 'origin'

Dear Team,

 

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.

Error:

:42:24  ERROR: Error cloning remote repo 'origin'
15:42:24  hudson.plugins.git.GitException: Command "git fetch --tags --progress -- git@bitbucket.org: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. 

 

Thanks

1 answer

I also checked the below link.

https://community.atlassian.com/t5/Sourcetree-questions/Cann-t-clone-a-large-repo/qaq-p/1061592

 

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

123 views 2 4
Read article

Community Events

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

Events near you