Jenkins slave JNLP4- connection timeout Jenkins slave JNLP4- connection timeout jenkins jenkins

Jenkins slave JNLP4- connection timeout


I am assuming you are using Jenkins Kubernetes Plugin,

You can increase Timeout in seconds for Jenkins connection under Kubernetes Pod template. It may solve your issue.

Description for Timeout in seconds for Jenkins connection:

Specify time in seconds up to which Jenkins should wait for the JNLP agent to estabilish a connection. Value should be a positive integer, default being 100.


Did you configure the JNLP port in Jenkins itself? It is located in Manage Jenkins > Configure Global Security > Agents. Click the "Fixed" radio button (since you already assigned a TCP port). Set the "TCP port for JNLP agents" to 50000.