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

Jenkins remoting goesn't honour -noreconnect option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • swarm-plugin
    • None

      When using the swam plugin and the master is restarted the swarm client attempts to reconnect 10 times even though we have specified -noreconnect.

      The ConnectException is coming from Engine.java in the remoting dependency.

      Engine.connect has 10 hard coded retries. The reconnect flag is only checked in the method that calls connect.

      We'd also like to configure the number of retries.

      We're happy to raise a PR to fix this if you'll accept it.

            Unassigned Unassigned
            chbatey Christopher Batey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: