On 1/25/21 1:23 PM, Jigar R wrote:
Hello Jenkins community,

I have created jenkins (v2.249.1) agent with launch method "Lauch agent by connecting it to the master". This prints a command on Jenkins UI i.e. "java -jar agent.jar -jnlpUrl .... -secret ....". Does this method use java web start / JNLP4? Is it going away?


I meant to send the following explanation to the list a few weeks back but apparently it didn't work out that way.


On 12/31/20 9:32 AM, jiga...@gmail.com wrote:
I have been running on JNLP for a while. Is it going to be deprecated? Should I prepare to move to SSH?

Unfortunately, that's a more confusing question than it should be. There are three things related to Jenkins agents that are named "JNLP". Only one of them actually has anything to do with JNLP.

First, the one that actually has anything to do with JNLP. If you use the "Launch" button on the controller to start your agent, that uses Java WebStart and JNLP is the launch protocol / mechanism. WebStart is going away. Or not. It has been removed from later versions of Java. Though, the OpenWebStart project has reimplemented these capabilities, which you could add onto later Java installations. However, I don't recommend using WebStart in production. It has no restart capabilities. It has become increasingly difficult to get it to work on current operating systems, etc.

Second, the one in Jenkins that has been renamed. When you configure an agent in Jenkins, there used to be an option to have a JNLP agent. This was renamed to "Inbound TCP agent" a while back as it has nothing to do with JNLP. This one is not going away.

Third, the one(s) in Jenkins that are still misnamed. Jenkins Remoting has had a series of network protocols named "JNLP". Currently, the only available one is "JNLP4-connect". This name is incorrect, as it has nothing to do with JNLP. The misleading name is retained for backwards compatibility purposes. The earlier versions of these protocols had a variety of problems and have gone away. The current one is not going away.

Jeff Thompson

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/efd7c7d9-3591-ff05-9a26-64ba1dbd10f8%40cloudbees.com.

Reply via email to