[JIRA] (JENKINS-59964) Mark offline actually put back silently online if already offline

4 views
Skip to first unread message

simon.urli@gmail.com (JIRA)

unread,
Oct 28, 2019, 10:48:03 AM10/28/19
to jenkinsc...@googlegroups.com
Simon Urli created an issue
 
Jenkins / Bug JENKINS-59964
Mark offline actually put back silently online if already offline
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: jenkins-agent-offline.gif
Components: core
Created: 2019-10-28 14:47
Environment: Jenkins version 2.190.1
OpenJDK 1.8.0_171
Priority: Critical Critical
Reporter: Simon Urli

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

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

simon.urli@gmail.com (JIRA)

unread,
Oct 28, 2019, 10:59:02 AM10/28/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages