Introduction
Source code management setup in Jenkins helps you connect your Jenkins jobs to your code repositories. This lets Jenkins automatically get your code to build, test, and deploy it without manual copying.
When you want Jenkins to automatically pull the latest code from GitHub for building.
When you need to trigger Jenkins jobs after code changes in a repository.
When you want to keep your build process connected to your version control system.
When you want to manage multiple branches or repositories in Jenkins jobs.
When you want to track which code version was used for each build.