-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins: 2.189
Working EC2 plugin: 1.39
Working EC2 plugin: 1.45
Hello everybody,
We have the plugin up and running good, but when updating the version of the plugin we can't start slaves via API. We don't have any problems with the plugin if a slave is started due a new job running, but we have a job with the following script:
@NonCPS
def submmitCleanJob(slave){
println "Going to submmit task to node: ${slave.name}"
def computer = slave.toComputer()
def connection = computer.connect(false)
connection.get()
build job: 'slave-clean', wait: false, propagate: false, parameters: [[$class: 'StringParameterValue', name: 'slave', value: "${slave.name}"]]
}
This job was working fine with plugin version 1.39, but now if the slave is stopped we can not start it from the script, and entering to see the logs of the slave we see that the connection is trying without success giving the following error "Failed to connect via ssh: The kexTimeout (10000 ms) expired."