-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
jenkins LTS 2.277.1
Jenkins Git client plugin has in its pom a dependency on SSH credential but no version is specified.
see https://github.com/jenkinsci/git-client-plugin/blob/master/pom.xml#L257-L260
Currently that pulls 1.18.1 and that version is requiring jenkins core 2.282+ which is not an LTS.
My LTS 2.277.1 deployment is bricked until this is fixed.
I downgraded the ssh-credentials dep to 1.17.4 but will not start:
java.io.IOException: Failed to load: Jenkins Git client plugin (3.6.0) Update required: SSH Credentials Plugin (1.17.4) to be updated to 1.18.1 or higher
The ssh-credentials plugin 1.18.1 was released Jan 2020, 14 months ago. It requires Jenkins 2.190.1 or later per its pom at https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ssh-credentials/1.18.1/ssh-credentials-1.18.1.pom.
The ssh-credentials plugin 1.18.2 requires Jenkins 2.282, but unless you're explicitly stating that you require 1.18.2, the plugin installation manager will not download 1.18.2 if it detects that you're running 2.277.1.
The git client plugin pom file at https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/git-client/3.6.0/git-client-3.6.0.pom lists the version number of the dependencies required. It uses the plugin bill of materials (bom) to simplify dependency management and allow others to do the hard work of assuring that compatible versions are selected.
The git client plugin dependency on ssh-credentials 1.18.1 is correct and is in use in thousands of installations.