diff --git a/Jenkinsfile b/Jenkinsfile index 8d38b97..8b7fd8d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ buildPlugin(useContainerAgent: true, configurations: [ - [platform: 'linux', jdk: 17], - [platform: 'windows', jdk: 11], + [platform: 'linux', jdk: 21], + [platform: 'windows', jdk: 17], ]) diff --git a/README.md b/README.md index b2adb36..521d8f1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,4 @@ -Git Server Plugin for Jenkins -================= - -[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/git-server.svg)](https://plugins.jenkins.io/git-server) -[![GitHub release](https://img.shields.io/github/release/jenkinsci/git-server-plugin.svg?label=changelog)](https://github.com/jenkinsci/git-server-plugin/releases/latest) -[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/git-server.svg?color=blue)](https://plugins.jenkins.io/git-server) +# Git Server Plugin for Jenkins 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. @@ -24,12 +19,12 @@ is a convenient default implementation that simplifies this further. [GitUserContentRepository](https://github.com/jenkinsci/git-userContent-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitUserContent/GitUserContentRepository.java) in `git-userContent-plugin` is an example of using this class. This use also implements -[RootAction](https://wiki.jenkins-ci.org/display/JENKINS/Action+and+its+family+of+subtypes#Actionanditsfamilyofsubtypes-RootAction) +[RootAction](https://wiki.jenkins.io/display/JENKINS/Action+and+its+family+of+subtypes#Actionanditsfamilyofsubtypes-RootAction) to bind this repository at `http://server/jenkins/userContent.git`, and This combination is fairly common. The other class of interest is [`RepositoryResolver`](https://github.com/jenkinsci/git-server-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitserver/RepositoryResolver.java). -Git server plugin adds necessary [Jenkins SSH](https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+SSH) CLI hook for exposing Git repositories over SSH. +Git server plugin adds necessary [Jenkins SSH](https://wiki.jenkins.io/display/JENKINS/Jenkins+SSH) CLI hook for exposing Git repositories over SSH. The only missing link here is that when the client runs `git clone ssh://server/foo/bar/zot.git`, we need to figure out what repositories on the server corresponds to `/foo/bar/zot.git`, and that's what the `RepositoryResolver` extension point does. [The sample implementation](https://github.com/jenkinsci/git-userContent-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitUserContent/GitUserContentRepositorySSHAccess.java) in `git-userContent-plugin` will be hopefully self-explanatory. @@ -38,9 +33,9 @@ In this case, `GitUserContentRepository` is a singleton (because it's `RootActio ## Changelog * See [GitHub Releases](https://github.com/jenkinsci/git-server-plugin/releases/latest) for recent releases -* See the [Changelog Archive](./docs/OLD_CHANGELOG.md) for versions 1.7 and older +* See the [Changelog Archive](https://github.com/jenkinsci/git-server-plugin/blob/git-server-1.9/docs/OLD_CHANGELOG.md) for versions 1.7 and older ## Reporting issues -Use [Jenkins Bugtracker](https://issues.jenkins-ci.org/) to report issues or feature requests +Use [Jenkins issue tracker](https://www.jenkins.io/participate/report-issue/redirect/#17613) to report issues or feature requests (project = `JENKINS`, component = `git-server-plugin`). diff --git a/docs/OLD_CHANGELOG.md b/docs/OLD_CHANGELOG.md deleted file mode 100644 index 5879866..0000000 --- a/docs/OLD_CHANGELOG.md +++ /dev/null @@ -1,51 +0,0 @@ -## Changelog Archive - -This page contains changelof for versions 1.7 and older. -SeeĀ [GitHub releases](https://github.com/jenkinsci/git-server-plugin/releases) for newer versions. - -### 1.8 and newer - -SeeĀ [GitHub releases](https://github.com/jenkinsci/git-server-plugin/releases). - -### 1.7 - -Release date: (July 12, 2016) - -- [JENKINS-35510](https://issues.jenkins-ci.org/browse/JENKINS-35510) - Update to the new Parent POM - -### 1.6 - -Release date: (Dec 18 2014) - -- git clone fails over HTTP, although SSH works - ([JENKINS-25212](https://issues.jenkins-ci.org/browse/JENKINS-25212)) - -### 1.5 - -Release date: (Nov 14 2014) - -- git-push via HTTP will work correctly even when CSRF protection is - enabled. No more "No valid crumb was included in request" error. - -### 1.4 - -Release date: (Oct 14 2014) - -- De-couple jgit dependencies from [Git Client - Plugin](https://wiki.jenkins.io/display/JENKINS/Git+Client+Plugin) - to avoid LinkageError caused by jgit version incompatibility. - -### 1.3 - -Release date: (Feb 10 2014) - -- Another JGit incompatibility with Git Client - ([JENKINS-21163](https://issues.jenkins-ci.org/browse/JENKINS-21163)) - -### 1.2 - -Release date: (Aug 09 2013) - -- JGit incompatibility with new Git Client plugin - ([JENKINS-18973](https://issues.jenkins-ci.org/browse/JENKINS-18973)) diff --git a/pom.xml b/pom.xml index a923a88..f0b89d7 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ io.jenkins.tools.bom bom-2.361.x - 2081.v85885a_d2e5c5 + 2102.v854b_fec19c92 import pom