We overwrote the checkout step in our pipeline shared library to introduce 
retires and a delay between retries, this is the step

https://github.com/elastic/apm-pipeline-library/blob/master/vars/checkout.groovy

El jueves, 24 de diciembre de 2020 a las 14:55:35 UTC+1, unli...@gmail.com 
escribió:

> Hello, Jenkins community!
>
> Pipelines started to crash when trying to clone from github due to 
> networking issues. Restarting the Pipeline solves the problem. What are the 
> ways to increase the number of attempts or time to clone from github 
> (plugins, configs...) ?
>
> Error code:
> fatal: unable to access 'https://github.com/enterpr/mygit.git/': TCP 
> connection reset by peer
>
> The second problem that occurs sometimes:
> "ERROR: Maximum checkout retry attempts reached, aborting"
>
> I would be grateful for sharing experience in solving these problems with 
> github. Thank you.
>
> Happy New Year!
>

-- 
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/8f718485-3d43-4b7c-b19c-522284f1885en%40googlegroups.com.

Reply via email to