-
Bug
-
Resolution: Won't Fix
-
Trivial
-
tomcat 9, jenkins 2.19.1, window 7, java 8, tcnative installed
Following Exception is raised when i run my pipeline script:
{{node {
stage('a') {
sshagent(['tomcat'])
}
}}}
{{[Pipeline] node
Running on master in f:\jenkins\workspace\pipetest
[Pipeline] {
[Pipeline] stage
[Pipeline]
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.RuntimeException: [ssh-agent] Could not find a suitable ssh-agent provider.
at com.cloudbees.jenkins.plugins.sshagent.SSHAgentStepExecution.initRemoteAgent(SSHAgentStepExecution.java:180)
at com.cloudbees.jenkins.plugins.sshagent.SSHAgentStepExecution.start(SSHAgentStepExecution.java:63)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:184)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)}}
At least i was expecting an error from the agent with loading the native lib.
- is duplicated by
-
JENKINS-35336 SSH agent not starting because file not created
- Resolved