Hi All,

Another question regarding custom cloud plugins:

I'm creating a custom plugin that creates a node from prototype, uses
the node, discards it (or reverts the state).

I'm starting slave.jar with tcp and connecting to it. My
ComputerLauncher also implements ExecutorListener, and disconnects on
taskCompleted, and terminates/discards the node in afterDisconnect.
But I see huge stack traces about socket being closed.

I've copied the closing procedure from here:
https://github.com/jenkinsci/vsphere-cloud-plugin/blob/master/src/main/java/org/jenkinsci/plugins/vSphereCloudSlave.java#L305

So, what is the correct way to disconnect the channel before node termination?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAFHiie6uFhaZtTB6%3DJetkxCFtYorb7bVWDi9DhRRhXxQLvcp3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to