Hi, I have a node which is started via a slave.sh script "Launch command". It works great. I also have some commands later in the script that should be executed when the node goes "offline" (when the Slave.jar process exits). This works most of the time but sometimes not. And that is not so good since it keeps the node alive.
Is it a bug? Why does this seem random? Is there a better way to shut down the node? eg. by an offline script? Regards, Jens Log when it fails: [10/08/14 14:12:40] Launching slave agent $ /var/lib/jenkins/slave.sh Creating instance Created slave Sleep for 60 sec so the instance has time to start <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.44 This is a Unix slave Slave successfully connected and online Connection terminated Log when it works: [10/08/14 14:12:40] Launching slave agent $ /var/lib/jenkins/slave.sh Creating instance Created slave Sleep for 60 sec so the instance has time to start Warning: Permanently added '146.148.112.87' (ECDSA) to the list of known hosts. <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.44 This is a Unix slave Slave successfully connected and online Connection terminated ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [143]. Terminated Deleted [https://xxx/jenkins-slave]. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.