-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: ssh-steps-plugin
-
None
-
Environment:Jenkins Version: 2.516.2
SSH Pipeline Steps Version: 2.0.89.v8f758c756546
Pipeline Step :
    stage('Remote SSH') {
      steps {
        script{
          withCredentials([sshUserPrivateKey(credentialsId: 'jenkins-node1', keyFileVariable: 'identityFile', usernameVariable: 'UserName')])
        }
      }
    }
Error info:
[Pipeline] End of PipelineAlso: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from'jenkins-node1/10.10.100.100:53426
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1916)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:384)
at hudson.remoting.Channel.call(Channel.java:1108)
at PluginClassLoader for ssh-steps//org.jenkinsci.plugins.sshsteps.steps.CommandStep$Execution.run(CommandStep.java:77)
at PluginClassLoader for ssh-steps//org.jenkinsci.plugins.sshsteps.util.SSHStepExecution.lambda$start$0(SSHStepExecution.java:88)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 693673a0-b276-4f44-9483-e285f4892b27
hudson.remoting.ProxyException: groovy.lang.MissingPropertyException: No such property: _ for class: org.hidetake.groovy.ssh.core.Remote
Possible solutions: pty
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:66)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:310)
at PluginClassLoader for ssh-steps//org.jenkinsci.plugins.sshsteps.SSHService$_defineRemote_closure1$_closure8.doCall(SSHService.groovy:162)
at PluginClassLoader for ssh-steps//org.jenkinsci.plugins.sshsteps.SSHService$_defineRemote_closure1$_closure8.doCall(SSHService.groovy)
After downgrading the SSH Pipeline Steps plugin to version 2.0.68.va_d21a_12a_6476, the pipeline runs normally.
Version image:

Error info image:
