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

Show update hint for agents

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      I currently have to go through our agents regularly to see whether they might need an update. While the Windows agent updates itself automatically, the Linux agent does not. To see which version an agent is currently on, you have to go to "System Information" of the agent.

      Unfortunately, you will only see which version you are using, but not whether it is still up to date or why the automatic update is failing.

      I think the information could be moved to Status and it could look like this than:

      Source code of the prototype:

      <dl>
          <dt>Status</dt>
          <dd class="error">Disconnected</dd>
      
          <dt>Labels</dt>
          <dd><a href="/label/linux" class="tag0 model-link inside">linux<button class="jenkins-menu-dropdown-chevron" data-href="https://localhost/label/linux" aria-expanded="false"></button></a><wbr><a href="/label/docker" class="tag0 model-link inside">docker<button class="jenkins-menu-dropdown-chevron" data-href="https://localhost/label/docker" aria-expanded="false"></button></a></dd>
      
          <dt>OS</dt>
          <dd>Ubuntu 22.04</dd>
      
          <dt>Agent Version</dt>
          <dd>
      		<a href="https://github.com/jenkinsci/remoting/releases/tag/3107.v665000b_51092">3107.v665000b_51092</a>
      		<div class="warning">Update available: <a href="https://github.com/jenkinsci/remoting/releases/tag/3192.v713e3b_039fb_e">3192.v713e3b_039fb_e</a></div>
      		<div class="error">Missing permission to update the agent.jar.<a tooltip="Help for setting up Agent correctly." helpurl="dummy" href="#" class="jenkins-help-button" tabindex="9999" title="Help for setting up Agent correctly."><span>?</span></a></div>
      	</dd>
      </dl>
      

      Note: Used Disconnect as example status, as it seems there is no validation mark for everything okay (expected sth. like a green check mark)

            Unassigned Unassigned
            sunblack sunblack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: