Git is not visible in Source Code Managment on Jenkins job

12,891

Solution 1

You have got the Git SCM plugin installed, right?

Solution 2

Git Plugin has 10 dependencies:

make sure you have installed all the plugins.

Solution 3

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.

Solution 4

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

Share:
12,891
Winston
Author by

Winston

Updated on July 06, 2022

Comments

  • Winston
    Winston almost 2 years

    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

  • Winston
    Winston over 8 years
    Dear @Stuart i re-installed scm-api and git is in SCM list. Thank you
  • Sridhar Sarnobat
    Sridhar Sarnobat over 4 years
    Strange, I installed the Git Blue Ocean plugin and restarted Jenkins and now it appears.
  • Alessio
    Alessio over 3 years
    Welcome to Stack Overflow! This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit or a comment.