Status: Closed (View Workflow)
Resolution: Not A Defect
jenkins 2.0,git plugin 2.4.4, gitlab 8.8.7.
Jenkins can't use the Git plugin auto get the changes from gitlab( http://IP/xx.git) then trigger new build.
Now we need trigger the job by hand.
Does the git plugin didn't support the gitlab use http:// ? Or some other configuration can slove this problem.
Sorry forgot give the git version. I upgrade the git version to 1.8.4 to get the code from gitlab(8.8.7), then find the problem.
I'm not sure I understand the meaning of your response. Can you clarify for me?
My CentOS 7 machine (updated with latest operating system updates through "yum update") includes git 18.104.22.168 and it supports the "git config --local credential.username MarkEWaite" command.
My CentOS 6 machine (updated with latest operating system updates through "yum update") includes git 1.7.1. It does not support the "git config --local credential.username MarkEWaite" command.
When you said
, did you mean that the solution to the problem you found was to upgrade git to 1.8.4, or did you mean that upgrading to git 1.8.4 did not solve the problem you were seeing?
I upgrade the git version to 1.8.4 to get the code from gitlab(8.8.7), then find the problem
I use the rpm -ivh git-1.8.4-1.ep.x86_64.rpm update the git on my Centos 6.5 both jenkins master and build slave.
I found the solution, both the jenkins master and the code build server (slave) had to update the git version.
Now I got that was no a bug,.
T he build slave server you want to get code , just install the Git and ssh key
The version of command line git you're using is too old for https credential support. You can either enable and use the JGit (pure java) implementation, or you can install a more recent version of command line git.
That output typically comes from a CentOS 5 or CentOS 6 machine where the default git version is too old to support full credentials.