Lab 6.1 - Configuring a GitHub SCM


1. Navigate to Jenkins dashboard > click on the development folder

2. Click New Item menu

3. Name this project hello-world-jk and select freestyle project

And then click OK

4. For this build job, you need to configure the SCM settings:

  • Source Code Management section: Git
  • In the Repository URL field, enter: https://github.com/username/hello-world-jk.git
  • Branch Specifier (blank for 'any'): */main

5. Click Save to save this project

6. Click Build Now to start a new build

7. Click on the Build History > Console Output and observe the result