DEV Community

loading...
Cover image for Integrating Jenkins with GitHub

Integrating Jenkins with GitHub

Kshitiz Saini
20-yr. old Tech Enthusiast seeking experience by learning, to increase knowledge along with some fun. Currently occupied as a adaptable and responsible undergraduate, seeking summer internship opportu
・1 min read

First of all we need to setup Jenkins in our device for that we can refer to the blog here.

Pre-Requisites

  • Jenkins installed and confiured on device.

Integrating Jenking with GitHub

1) First we need to launch Jenkins in our device using the specified IP and login to the Jenkins server using the credentials.

Alt Text

2) Create a new item and select the freestyle project and give it a name.

Alt Text

3) In the settings, we need to go to he Source Control Management option and select Git as our version control repository.

4) Enter the credentials of GitHub (if required) and the URL of the repo to work with.

Alt Text

5) Click on Save and Apply.

Alt Text

Congratulations, you have integrated Jenkins with GitHub.

Discussion (0)