Road to setup git repository with Jenkins

To set up Jenkins with git repository follows below steps:
1. Launch your Jenkins server.
2. Open Jenkins url.
3. Install “GitHub Plugin” into Jenkins.
4. Install Git in your machine.

Git Path Setup in Jenkins:
Go to “Manage Jenkins>>Configure System“ you should see there a Git section.
In “Path to Git executable” field set your Git installation path like below screen shot I set path: “C:\Program Files\Git\bin\git.exe:


Set up Git repository in your jobs:
In your job you should see Git radio button into “Source Code Management” section.
1. Check “Git” radio button.
2. Set your clone repository path into “Repository URL” field.
3. Click add credential button to add your git repository credential. 


 Save your job now your Git repository is setup with Jenkins server

1 comment:

  1. Your blog is awesome. Many thanks to such a wonderful information.

    How to validate the bar chart index values using webdriver. Please find the url.
    https://developers.google.com/chart/interactive/docs/gallery/combochart

    Please reply

    ReplyDelete

Leave your comments, queries, suggestion I will try to provide solution