Skip to main content

Jenkins: Getting source code from Git

To pull directly from your GitHub account you need URI and your credentials and few plugins needs to be installed in Jenkins.

Follow Below Steps:

Step 1: Navigate to Manage Jenkins -> Manage Plugins and Verify inside Installed tab that Git plugins are installed

Step 2: Navigate to Manage Jenkins -> Global Tools Configuration and check you have selected Installed Automatically or added path for your git installation

Step 3: Got to Your Project -> Configure

Step 4: In Source code management select Git

Step 5: Copy your Project URI which you can get from GitHub, Also add credentials for you account.

Step 6: Click Save and Apply.

Tags
Submitted by tgoswami on August 31, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.

About

At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.