Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins-Worker: SSH or JNLP Connection?

Right now I found 2 possible solutions creating Jenkins Slaves or Jenkins Workers:

  • Using the SSH-Slave Plugin
  • Using JNLP

My question now: What is the better / more stable solution and why?

I found myself some pros and cons using both of the solutions but I don't want to affect the discussion

like image 686
Christoph Forster Avatar asked May 13 '19 13:05

Christoph Forster


1 Answers

  • Java Web Start -- and the underlying Java Network Launch Protocol (JNLP) is the recommended mode of connection for windows agents. jenkins.wiki.io

  • SSH is recommended for Linux agents

The Pros and Cons don't matter if both are recommended for different platforms.

like image 64
HumayunM Avatar answered Nov 20 '22 04:11

HumayunM