-
Bug
-
Resolution: Not A Defect
-
Critical
-
Jenkins version 1.594, git-plugin 2.3.1, git-client-plugin 1.16.1
The GIT plugin seems to be broken frequently while connecting to the our GIT server (the error is attached here). Only solution to this I do it reconnecting the Jenkins slave (linux box) where my builds are restricted to run.
The git is installed in the slave machine and configured via tool location in the Slave Configure Page (see attached slave-configure). I also tried with actual path to GIT tool like "/usr/bin/git" (standard installation path for GIT in linux), but no benefits at all !!!
Is this specific to the version of GIT-plugin or GIT-client-plugin ?? OR is it common with GIT plugin ???
This issue frequently failures the jobs scheduled to run on a periodic interval and they don't succeed till I reconnect the Jenkins slave. This kind of behavior is not acceptable in the production environment.
Please help here. If U need anything else, please let me know but this needs the attention.
I don't think this is a bug in the git plugin or the git client plugin. There are over 60 000 installations of the git plugin, and over 20 000 of those are running git plugin version 2.4.0 (per plugin stats). If there were a general purpose intermittent failure in connections between git and the git server, there would be many, many bug reports and many people affected.
More likely is that there is some configuration issue or intermittent connectivity issue between the slaves and the git server in your environment. You may want to create processes on your slaves which run git commands in large volume or at frequent intervals to see if you can isolate the problem in your environment.