Winston
Winston

Reputation: 1820

Git is not visible in Source Code Managment on Jenkins job

I would like to set source code managment of my freestyle jenkins job. I installed git plugin manually from git-client.hpi file. I restarted jenkins, set git path but I can not see git in the source code management list. There is no internet connection in server. So any suggestion? Thank You

installed git path

git is not listed

Upvotes: 8

Views: 17759

Answers (5)

Hui
Hui

Reputation: 21

I installed the "GitHub Branch Source Plugin", then it appears

Upvotes: 2

Mehreen
Mehreen

Reputation: 19

Install all the git plugins from jenkins plugin manager. Same goes for if any other version control system is missing.

Upvotes: 0

Shamendra
Shamendra

Reputation: 336

I had the same issue. I checked all plugins mentioned above and those are already installed (also most of the Git plugins shipped default with the Jenkins)

I think you have to choose "Free style project" when you create a New Item in Jenkins. If you have selected the "Pipeline" or any other from the list that "Source code management" section is not available when we configure the project.

Upvotes: 3

Stuart Grassie
Stuart Grassie

Reputation: 3073

You have got the Git SCM plugin installed, right?

Upvotes: 10

Related Questions