Jenkins integration with Github

Start the Jenkins service using the command: java -jar jenkins.war in the command prompt Go to the Jenkins dashboard at localhost:8080

image.png

Click on the new item option Select the freestyle project option Give a name to the project Click ok

image.png

You will be directed to a page similar to this. Click on the source code management tab to add the github repository

image.png

In the Source Code Management Section select Git Visit the repository where you saved your project Copy the location of the github repository Give the repository location in the specified placeholder

image.png

Click save and apply You would be redirected to a dashboard like this

image.png