GIT server | jenkins git plugin download
Thispluginwrapstheserver-sidefunctionalityofJGitsothatotherpluginscaneasilyexposeGitrepositoriesfromJenkinsviaitsSSHtransportandHTTPinacollaborativefashion.Thispluginisalibraryplugin,inthesensethatitdoesnthaveanyuservisiblefeatureonitsown.DeveloperGuideSeeGituserContentplugin[1]asaniceandshortexampleofhowtotakeadvantagesofthisfeature.Intermsofcode,therearetwoclassesthatpluginslikegit-userContent-pluginshouldbeinterestedin.OneisHttpGitRepository[2],whichrepresentsGitrepositoryaccessviaHTTP.Ty...
This plugin wraps the server-side functionality of JGit so that other plugins can easily expose Git repositories from Jenkins via its SSH transport and HTTP in a collaborative fashion. This plugin is a library plugin, in the sense that it doesnt have any user visible feature on its own.
Developer GuideSee Git userContent plugin[1] as a nice and short example of how to take advantages of this feature.
In terms of code, there are two classes that plugins like git-userContent-plugin should be interested in.
One is HttpGitRepository[2], which represents Git repository access via HTTP. Typically you have some directory inside $JENKINS_HOME that houses the repository, then you subtype GitHttpRepository and override abstract methods to fill in the missing details. FileBackedHttpGitRepository[3] is a convenient default implementation that simplifies this further. GitUserContentRepository[4] in git-userContent-plugin is an example of using ...