Interview Prep/Jenkins/Multibranch, organization folders & webhooks

What is "lightweight checkout" in pipeline-from-SCM jobs?

IntermediateConceptMultibranch, organization folders & webhooks
Answer

To read the Jenkinsfile, Jenkins can fetch just that one file via the SCM API (GitHub contents API, git archive) instead of cloning the whole repo onto the controller. It is faster and keeps the controller clean. If unsupported (for example, parameters like ${BRANCH} in the branch spec), you see Lightweight checkout support not available, falling back to full checkout. and a full clone happens in the controller's workspace@script directory.

All Jenkins questions Roadmap: Jenkins

More on Multibranch, organization folders & webhooks