Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69159

Use jgit.ssh.apache instead of jgit.sssh.jsch for the JGit ssh implementation in git client plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-client-plugin
    • None
    • git client plugin 4.1.0

      Jenkins users rely on the JGit library that is included in the git client plugin.  The jgit.ssh.apache implementation of ssh is more actively maintained than the jgit.sssh.jsch ssh implementation that is currently being used.

      Switch from jgit.ssh.jsch to jgit.ssh.apache

      See the "Future of jsch" blog post for more information.

      Also see the comments in https://github.com/jenkinsci/jsch-plugin/pull/18/files#r932428438

      org.eclipse.jgit.ssh.jsch is deprecated

      The JGit project provides the org.eclipse.jgit.ssh.apache library in addition to the org.eclipse.jgit.ssh.jsch library. The org.eclipse.jgit.ssh.apache library appears to be a complete replacement for git client plugin use cases. The JGIt project has declared their jsch library is deprecated and may be removed at any time.

            markewaite Mark Waite
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: