Install and Configure Jenkins using Jenkins.war if you have not installed Jenkins yet.
Once installation is successfully completed with initial configuration, On Jenkins Dashboard, click on Manage Jenkins
Click on the Global Tool Configuration Link.
There are two options to configure.
- You can Install Automatically by clicking on the checkbox and selecting specific version
- If Git is already installed then give its path directly so we can configure it while creating a new build for Projects
Uncheck the checkbox for installing Git automatically as we assume that Git is already available. Give Path till Git.exe (In case of Windows OS).
Click on Apply and Save.