Introduction
When Jenkins runs a pipeline, it usually downloads the entire source code repository. Lightweight checkout lets Jenkins download only the pipeline script, saving time and space.
When your repository is very large but your pipeline script is small.
When you want faster pipeline startup by avoiding full repository clone.
When you only need the Jenkinsfile to run the pipeline and not the full code.
When you want to reduce network usage on your Jenkins server.
When you want to speed up multibranch pipeline scans.