Interview Prep/CI/CD/Jenkins Build and Agent Failures

`error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408` during checkout.

IntermediateTroubleshootingJenkins Build and Agent Failures
Answer

Likely causes → Large repository over slow network; proxy timeouts.

Diagnose → Re-run git clone on the agent with GIT_TRACE=1 GIT_CURL_VERBOSE=1.

Fix → Enable shallow clone and a reference repo in the Git extension (Advanced clone behaviours), increase the checkout timeout, set http.postBuffer.

Prevent → Use shallow clones, sparse checkout and a local mirror cache.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Jenkins Build and Agent Failures