| How to setup Jenkins with Git with details?
Below are the different steps to setup Jenkins with Git as define below:-
(1)After installing Jenkins in our Jenkins dashboard we have the option on left hand side "Manage Jenkins" define in below screen.
(2)Now screen of "Manage Plugin" is opened as given below
(3)In this above screen we will get the different options.This tab will give a list of plugins which are available for downloading. In the "Filter" tab type "Git plugin"
(4)Here list will be filtered. Now Check the Git Plugin option and click on the button "Install without restart".
(5)After that installation will started and the screen will be refreshed which show th status of download.
(6)After installation is completed we will restart jenkins by issue the below command in browser.
http://localhost:8080/jenkins/restart
Once Jenkins is restarted git will be available as a option whilst confiuring jobs. And to verify we will click on new item in the menu options from jenkins. After that we need to enter the name of job. Here i have enter the name "Demo". Now we will select "Freestyle Project" as the item type. And at last we need to click on OK button.
(7)Now in last screen we browse the source code management section and we will now get "Git" as option as gievn in below screen.
| | |