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

Mark offline actually put back silently online if already offline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • Jenkins version 2.190.1
      OpenJDK 1.8.0_171

      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

       

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

              Created:
              Updated: