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

"This node is offline because it uses an old agent.jar" error is misleading

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • versioncolumn-plugin
    • None

      Hi,

      The text "This node is offline because it uses an old" is misleading since the actual code is looking for the exact match, thus, the error should be "This node is offline because version needed is <VERSION>". <VERSION> of course should be version we compared to, usually the built-in version

       

      Jenkins version: 2.332.3

      versioncolumn-plugin: 2.2

          [JENKINS-72688] "This node is offline because it uses an old agent.jar" error is misleading

          Mark Waite added a comment - - edited

          To be sure that I understand the request, I think that you are saying that the existing message that says "Making <agent> offline temporarily due to the use of an old agent.jar" should instead say something like "Making <agent> offline temporarily due to the use of an agent.jar version <version> instead of the expected version <version>".

          If so, then I think this would be better solved by JENKINS-63607 which proposes to accept newer versions of Jenkins remoting without a message.

          Mark Waite added a comment - - edited To be sure that I understand the request, I think that you are saying that the existing message that says "Making <agent> offline temporarily due to the use of an old agent.jar" should instead say something like "Making <agent> offline temporarily due to the use of an agent.jar version <version> instead of the expected version <version>". If so, then I think this would be better solved by JENKINS-63607 which proposes to accept newer versions of Jenkins remoting without a message.

          Tzach Solomon added a comment -

          markewaite thanks for the quick response!

          1. Yes, the more generic solution should be in JENKINS-63607
          2. In the short term I think its a quick win to change the text, if you could do it would be great, If not, i'll to submit a PR ASAP

          Tzach Solomon added a comment - markewaite thanks for the quick response! Yes, the more generic solution should be in JENKINS-63607 In the short term I think its a quick win to change the text, if you could do it would be great, If not, i'll to submit a PR ASAP

          Mark Waite added a comment -

          You're welcome to submit the text change.

          Mark Waite added a comment - You're welcome to submit the text change.

            Unassigned Unassigned
            tzach_solomon Tzach Solomon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: