Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51969

Option for JNLP launcher to retry initial connection attempts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: remoting
    • Labels:
      None
    • Similar Issues:

      Description

      Noticed here and copied here: if you try to set up a Docker Compose demo of a Jenkins master plus a "JNLP" agent, the agent container will start quickly, try to connect, get a failure, and exit before the master comes up. So you need to manually bring up the master, wait a bit, then manually bring up the agent.

      There is a flag to suppress automatic re-connection after losing a connection to the master. I am asking for something like the opposite: reconnect before making an initial connection.

      This would be in hudson.remoting.Engine I suppose, though the entry point I was using was hudson.remoting.jnlp.Main: the first flag causes errors on the first attempt to be fatal.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            jthompson Jeff Thompson
            Reporter:
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: