New post 2 SSH Slaves vs JNLP Slaves Owen Wood February 26, 2017 23:32 None Follow What are the advantages / disadvantages of each? Which is preferred? Facebook Twitter LinkedIn Date Votes 6 comments 4 Arnaud Héritier February 27, 2017 08:22 Hi Owen, Firstly let's talk about agents (and not slaves which are sooo Jenkins 1.x) :-) Technically speaking the major part of existing agents are nowadays using JNLP protocol. What could be different is how you will start your agent: You may ask to Jenkins master to connect on a remote host (using SSH for exemple) and it will start the agent automatically (it may install a JVM if required too). This is what we are calling SSH agents. But in some cases you might no be able to allow Jenkins master to connect on the remote host by itself. In that case you can manually start from the remote host the agent and this is what we often call JNLP agents. HTH 2 Allan Burdajewicz February 28, 2017 00:08 Upgrade of slave.jar SSH Agents are upgraded automatically after a Jenkins upgrade. Jenkins master copy the slave.jar on SSH Agent's machines. The slave.jar on JNLP Agents need to be copied manually. Memory Consumption If I remember correctly, JNLP Nodes use less memory (~200 kB) than SSH Nodes (~1.1 MB) due to a flight recording stream. This seems negligible but need to be considered in order to scale. (see Jenkins World 2016 - So, You Want to Build the World's Biggest Jenkins Cluster? for reference) 1 Phil Mcardle March 08, 2017 11:38 > FYI the Windows service should manage the upgrade automatically 'soon'.Well, that's my favourite news of the day :) 1 Oleg Nenashev March 08, 2017 19:14 > FYI the Windows service should manage the upgrade automatically 'soon'. It's going to land in 2.50 along with other Windows service improvements: https://github.com/jenkinsci/windows-slave-installer-module/blob/master/CHANGELOG.md#17. Automatic upgrade will be enabled only for new agents on instances behind HTTPS. Regarding automatic upgrades of JNLP agents, there are middle-term plans to have this feature (no ETA) 0 Arnaud Héritier March 02, 2017 14:59 > The slave.jar on JNLP Agents need to be copied manually. FYI the Windows service should manage the upgrade automatically 'soon'. 0 Allan Burdajewicz July 28, 2017 04:52 It is now possible to enable the automatic download since the 2.60.1 LTS: https://jenkins.io/doc/upgrade-guide/2.60/windows/. Please sign in to leave a comment.