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

Upgrade sshd-module to use SSHD 2.x

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      sshd-3.0.4

      Description

      Some of the libraries that Jenkins uses (e.g. JGit) have moved on to use SSHD 2.x. This contains breaking changes. But sshd-module still expects SSHD 1.x. The incompatibilities cause either compile-time or runtime 'class not found' errors in Jenkins and its plugins.

      We need to bump our SSHD dependencies to fix this.

      Options:

      • SSHD 2.2.0 (also used by the current release of JGit)
      • SSHD 2.3.0 (the very latest version)

      Affected downstream components:

      • Gerrit Trigger plugin
      • git-server plugin
      • Jenkins Core CLI
      • Remote terminal access plugin
      • ...

        Attachments

          Activity

          Hide
          chriskilding Chris Kilding added a comment -

          I removed the test where I was using the Git-over-SSH functionality a while back, which allowed me to remove the Git plugin and SSHD plugin from my own plugin's manifest. (This was a crude way of solving the problem but it did work...)

          As a result I'm happy for anyone to take this work in a different direction.

          Show
          chriskilding Chris Kilding added a comment - I removed the test where I was using the Git-over-SSH functionality a while back, which allowed me to remove the Git plugin and SSHD plugin from my own plugin's manifest. (This was a crude way of solving the problem but it did work...) As a result I'm happy for anyone to take this work in a different direction.
          Hide
          jvz Matt Sicker added a comment -

          Adding to Mina SSH epic.

          Show
          jvz Matt Sicker added a comment - Adding to Mina SSH epic.
          Hide
          ifernandezcalvo Ivan Fernandez Calvo added a comment - - edited
          Show
          ifernandezcalvo Ivan Fernandez Calvo added a comment - - edited This is the list of plugins affected by the change of package of the class Command Active plugins https://github.com/jenkinsci/git-server-plugin https://github.com/jenkinsci/gerrit-trigger-plugin https://github.com/jenkinsci/ssh-agent-plugin outdated plugins https://github.com/jenkinsci/remote-terminal-access-plugin - 7 years https://github.com/jenkinsci/ssh-cli-plugin - 9 years
          Show
          ifernandezcalvo Ivan Fernandez Calvo added a comment - plugins to make a PR to test the update https://github.com/jenkinsci/scriptler-plugin https://github.com/jenkinsci/matrix-project-plugin https://github.com/jenkinsci/jsch-plugin https://github.com/jenkinsci/electricflow-plugin https://github.com/jenkinsci/git-server-plugin https://github.com/jenkinsci/gerrit-trigger-plugin https://github.com/jenkinsci/ssh-agent-plugin
          Hide
          ifernandezcalvo Ivan Fernandez Calvo added a comment -

          Baptiste Mathus this issue is not merged so it is not the cause of any regression, I think you were looking for the issue https://issues.jenkins.io/browse/JENKINS-65273 that it is caused by https://github.com/jenkinsci/jenkins/commit/4d818c294fb9838902ed9e42e022f93f1cb0c9cc#diff-99bb88401742848e032fd6f51709415fb6be169a72d2e5d7fc44289255160d3c that bumps the sshd-core library in the Jenkins CLI

          Show
          ifernandezcalvo Ivan Fernandez Calvo added a comment - Baptiste Mathus this issue is not merged so it is not the cause of any regression, I think you were looking for the issue https://issues.jenkins.io/browse/JENKINS-65273 that it is caused by https://github.com/jenkinsci/jenkins/commit/4d818c294fb9838902ed9e42e022f93f1cb0c9cc#diff-99bb88401742848e032fd6f51709415fb6be169a72d2e5d7fc44289255160d3c that bumps the sshd-core library in the Jenkins CLI

            People

            Assignee:
            ifernandezcalvo Ivan Fernandez Calvo
            Reporter:
            chriskilding Chris Kilding
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: