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

Display Remoting version in the agent log when starting up the agent

      Currently Remoting agents do not print their versions to logs on the startup. Although there are plugins showing that on the Jenkins side (Version Column plugin, Support Core plugin), it would be still useful to print the version when the agent starts.

      Acceptance criteria:

      • Agent version is printed when the agent is connected to the master from CLI
      • Agent version is printed when the connection is established over SSH (e.g. by SSH Slaves plugin)
      • Agent version is printed when the agent is launched over Java Web Start

      In order to address these requirement, it is generally required to add log messaging in a generic Remoting class like Engine.

          [JENKINS-49618] Display Remoting version in the agent log when starting up the agent

          Oleg Nenashev created issue -

          Willy Aguirre added a comment -

          Hi oleg_nenashev, Could you tell me more how to I can fix this? please

          Willy Aguirre added a comment - Hi oleg_nenashev , Could you tell me more how to I can fix this? please

          Oleg Nenashev added a comment -

          marti_ which information are you missing here?
          i think the best place to fix it is https://github.com/jenkinsci/remoting/blob/master/src/main/java/hudson/remoting/Engine.java#L234 , so maybe it could be a good pointer

          Oleg Nenashev added a comment - marti_ which information are you missing here? i think the best place to fix it is https://github.com/jenkinsci/remoting/blob/master/src/main/java/hudson/remoting/Engine.java#L234 , so maybe it could be a good pointer
          Pham Vu Tuan made changes -
          Assignee New: Pham Vu Tuan [ pvtuan10 ]

          Pham Vu Tuan added a comment - - edited

          Hi, I can work on this issue.

          Pham Vu Tuan added a comment - - edited Hi, I can work on this issue.

          Pham Vu Tuan added a comment -

          I submitted a PR for this issue here https://github.com/jenkinsci/remoting/pull/262

          Pham Vu Tuan added a comment - I submitted a PR for this issue here  https://github.com/jenkinsci/remoting/pull/262
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Code changed in jenkins
          User: Rebecca Ysteboe
          Path:
          src/main/java/hudson/remoting/Engine.java
          http://jenkins-ci.org/commit/remoting/9dd1cb5282642d13a230e265a756401e80b94c2f
          Log:
          Merge pull request #262 from pvtuan10/JENKINS-49618/display-agent-version

          JENKINS-49618 - Display Remoting version in the agent log when starting up the agent

          Compare: https://github.com/jenkinsci/remoting/compare/a4d2a3cb16be...9dd1cb528264

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rebecca Ysteboe Path: src/main/java/hudson/remoting/Engine.java http://jenkins-ci.org/commit/remoting/9dd1cb5282642d13a230e265a756401e80b94c2f Log: Merge pull request #262 from pvtuan10/ JENKINS-49618 /display-agent-version JENKINS-49618 - Display Remoting version in the agent log when starting up the agent Compare: https://github.com/jenkinsci/remoting/compare/a4d2a3cb16be...9dd1cb528264

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          client/pom.xml
          http://jenkins-ci.org/commit/swarm-plugin/c5a100cf94f6016d396a8d525554d1b8db416d07
          Log:
          [JENKINS-50237, JENKINS-49618] - Update Swarm Client to Remoting to 3.19

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: client/pom.xml http://jenkins-ci.org/commit/swarm-plugin/c5a100cf94f6016d396a8d525554d1b8db416d07 Log: [JENKINS-50237, JENKINS-49618] - Update Swarm Client to Remoting to 3.19

            pvtuan10 Pham Vu Tuan
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: