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

Display communication protocol in agent logs

XMLWordPrintable

    • 2.343

      It would be nice if the Jenkins startup log for permanent slaves would output what protocols it was using to communicate with the master.

      Current behavior

      Right now the startup log looks something like:

      JNLP agent connected from localhost/127.0.0.1
      Slave.jar version: 3.3
      This is a Unix agent
      NOTE: Relative remote path resolved to: /home/sam/sandbox/jenkins
      Agent successfully connected and online
      

      Desired output

      Underneath Slave.jar version would be a good place to output the communication protocol. Something along the lines of:

      JNLP agent connected from localhost/127.0.0.1
      Slave.jar version: 3.3
      Communication Protocol: Java Web Start Agent Protocol/4
      This is a Unix agent
      NOTE: Relative remote path resolved to: /home/sam/sandbox/jenkins
      Agent successfully connected and online
      

      Using the protocol getDisplayName() method.

            aki7m Akihiro
            sag47 Sam Gleske
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: