Persistent connection between slave and master when connecting through JNLP + command line
12 views
Skip to first unread message
Custodia
unread,
Aug 15, 2016, 4:05:10 AM8/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
I have just setup a powershell script for windows slaves that install everything required for builds and automatically connects the slave to it's master based on the parameters given when the script was executed. This works fine until I close the powershell window or need to reboot the computer. Immediately when I close the window the slave connection dies.
I haven't got much experience with this JNLP connection so I have a few questions. Does the web interface version reconnect when the slave machine is rebooted? Would there be any differences between a manual connection and the scripted one if the script output was hidden in a background process? And the biggest one, how do people manage holding persistent connections between master and slave where the slave machine might be restarted?
My current idea was to instead of launching the connection at the end of the script save it in a executable and execute that everytime the machine is booted.