user4444282
user4444282

Reputation:

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. enter image description here The problem can be in git installation on Jenkins. Here is my configuration.

enter image description here

My console

enter image description here Can anyone give me a solution of this?

Upvotes: 2

Views: 1466

Answers (1)

VonC
VonC

Reputation: 1323883

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:

Upvotes: 3

Related Questions