Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error cloning remote repo 'origin'

Jayesh Mahajan April 20, 2021

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

0 votes
Jayesh Mahajan April 20, 2021

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?

Jayesh Mahajan April 21, 2021

Any update?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events