<< Back to previous view

[QB-3014] Make "Clean workspace of all active nodes" button configurable and prompt yes/no
Created: 14/Jul/17  Updated: 21/Sep/21

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 6.1.36, 7.0.19
Fix Version/s: 11.0.17

Type: Improvement Priority: Major
Reporter: John Landers Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
The button "Clean workspace of all active nodes" next to workspace if clicked can do a lot of damage.
We have many nodes in the grid with many configurations and they use the same workspace directory.
We use QB to deploy and setup up servers running our software.
So accidentally clicking this can be dangerous when the same workspace directory is on many nodes for multiple configurations.

I know we can leave this out with permissions but admin users still can accidentally click this.

Can we make this prompt for confirm yes/no
Can we also add new Node property: cleanup workspace = yes/no and those with no would never get called to cleanup when 'Clean worksacep of all active nodes' is clicked.



 

 Comments   
Comment by Robin Shen [ 20/Jan/18 03:48 AM ]
It is already asked yes/no before cleaning up
Comment by John Landers [ 22/Jan/18 04:43 PM ]
This issue was more about it would be nice to disable this option per build agent to prevent it from participating.
We use production build agents and having a sweeping delete across all nodes is dangerous.
Comment by Thrasys Admin [ 16/Aug/21 09:19 PM ]
Could we re-open this issue to add a setting to the system settings page. This is easy to click.
    x Disable Clean workspace of all active nodes for all users

So this trash icon would not be present for any user even admin users.
Currently no way to remove this button for admin users.
Comment by Robin Shen [ 16/Aug/21 11:31 PM ]
Reopened, a setting disabling this will be added.
Comment by Thrasys Admin [ 20/Aug/21 05:23 PM ]
Thanks. This will be a nice addition and great insurance policy.
Comment by Thrasys Admin [ 20/Sep/21 08:16 PM ]
Any updates on when this will be added to QB 11.
Comment by Robin Shen [ 21/Sep/21 12:54 AM ]
Got fixed in 11.0.17 now:
https://build.pmease.com/build/5369
Generated at Thu Apr 25 13:05:20 UTC 2024 using JIRA 189.