简体   繁体   中英

Configure git with Jenkins on Centos

I am trying to configure Jenkins on CentOS VM. I have already tried it on Windows and become successful. But on CentOS i can't run it. It shows the problems related to git. 在此处输入图片说明 The problem can be in git installation on Jenkins. Here is my configuration.

在此处输入图片说明

My console

在此处输入图片说明 Can anyone give me a solution of this?

The default path for Git on CentOS should be:

/usr/local/git/bin

You will find the same installation process (and same path) in this blog post .

More generally, if you have access to the CentOS VM, do a

which git

to see where it is installed.

Note that the warning you see "Installed git version too old for credentials support" would mean that:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM