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

com.cloudbees.jenkins.plugins.sshagent.LauncherProvider suddenly went missing and getting erors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ssh-agent-plugin
    • None

      Latest plugin for ssh-agent I'm getting all these com.cloudbees.jenkins.plugins.sshagent.LauncherProvider missing errors.

      Has it been replaced or accidently deleted or something happen?

      Can someone confirm that this class has in fact been permanently removed and if so what it's replaced with?

      https://github.com/jenkinsci/ssh-agent-plugin/tree/master/src/main/java/com/cloudbees/jenkins/plugins/sshagent  you'll notice LauncherProvider.java is now gone.   Removal was part of this commit, https://github.com/jenkinsci/ssh-agent-plugin/commit/c84ce1c5751ec6d4048e2254819c46719147855b 

      Documentation still has it listed even though it's removed in source 

      https://javadoc.jenkins.io/plugin/ssh-agent/com/cloudbees/jenkins/plugins/sshagent/LauncherProvider.html

      If I run this on the latest .jpi I get nothing

      unzip -l ssh-agent/WEB-INF/lib/ssh-agent.jar | grep LauncherProvider

      previous version...

      $ unzip -l WEB-INF/lib/ssh-agent.jar | grep LauncherProvider
            368  04-10-2024 02:16   com/cloudbees/jenkins/plugins/sshagent/LauncherProvider.class
            929  04-10-2024 02:16   com/cloudbees/jenkins/plugins/sshagent/SSHAgentBuildWrapper$SingletonLauncherProvider.class

      As for other plugins... There was one other I saw come up (probably where I got the code to use the LauncherProvider class) but can't find it at the moment.

       

            Unassigned Unassigned
            mikeycarter Michael Carter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: