we have a similar use case, where we need to checkout a repo and download a 
bunch of dependencies, then we have to share this with several Agents. 
Because stash and unstash will kill the performance of our Jenkins instance 
we use a custom step similar to stash/unstash that uses a GCP bucket to 
store the repo and the dependencies, it adds a little time to make the 
checkout because we have to upload everything to the bucket, but increases 
a lot the next checkouts+dependencies.
If you only need the source code, you could use a reference repo. basically 
your Agents have the code (or part of it) before they make the checkout.

El miércoles, 1 de julio de 2020, 21:03:12 (UTC+2), sravan escribió:
>
> Hi All,
>
> My git repo is really big and I am running job parallel on two different 
> machine.Sometimes I see an issue with downloading from git . I get this 
> error "failed on download from git" Error.
>
> ERROR: Timeout after 10 minutes
> ERROR: Error cloning remote repo 'origin'
> returned status code 128:
> stdout: 
> stderr: remote: Enumerating objects: 522, done.        
> remote: Counting objects:   0% (1/522)        
> remote: Counting objects:   1% (6/522)        
>
>
> Could anyone help me with this please
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ac11119b-3aba-4930-b008-109606854b7do%40googlegroups.com.

Reply via email to