Step 1:
- Create a new job in Jenkins, open the Jenkins dashboard with your Jenkins URL. For example,
http://localhost:8080/
- Click on create new jobs:
Step 2:
- Enter the item name, select job type and click OK. We shall create a Freestyle project as an example.
Step 3:
- Once you click OK, the page will be redirected to its project form. Here you will need to enter the project information:
Step 4:
- You will see a Git option under Source Code Management if your Git plugin has been installed in Jenkins:
Step 5:
- Enter the Git repository URL to pull the code from GitHub.
- Git is now properly configured on your system.