-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins version 2.140
vSphere cloud plugin 2.18
SSH slaves plugin 1.27
-
-
ssh-slaves-1.28.1
SSH slaves plugin has been updated to 1.27. When I try to run a slave with vsphere cloud I get the following error:
// Jenkins log java.lang.NoSuchMethodError: hudson.plugins.sshslaves.SSHLauncher.getJavaPath()Ljava/lang/String; at org.jenkinsci.plugins.vSphereCloudSlaveTemplate.determineLauncher(vSphereCloudSlaveTemplate.java:478) at org.jenkinsci.plugins.vSphereCloudSlaveTemplate.provision(vSphereCloudSlaveTemplate.java:451) at org.jenkinsci.plugins.vSphereCloudSlaveTemplate.provision(vSphereCloudSlaveTemplate.java:396) at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode.provisionNewNode(vSphereCloud.java:534) at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode.access$100(vSphereCloud.java:496) at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode$1.call(vSphereCloud.java:510) at org.jenkinsci.plugins.vSphereCloud$VSpherePlannedNode$1.call(vSphereCloud.java:506) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
The method getJavaPath() has been removed from the new version of SSH slaves plugin, but the vSphere cloud plugin still tries to use it.
My workaround for the problem: downgrade SSH slaves plugin version to 1.26