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

Mark offline actually put back silently online if already offline

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins version 2.190.1
      OpenJDK 1.8.0_171
    • Similar Issues:

      Description

      We just discovered that when an agent is already marked offline, going to a page such as: http://ourjenkins/computer/agent-x/markOffline still display the UI to put it offline, and actually trigger it back online when hitting the "Mark offline" submit button.
      See the attached gif to see the steps in action.

      Reproduction steps:

      Obtained result:

      • The agent is put back online when clicking on the "mark offline" button

      Expected result:

      • the UI should show that the agent is already offline when going to the "/markOffline" URL, and at the very least hitting the button shouldn't switch it back online

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              surli Simon Urli
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: