<< Back to previous view

[QB-1663] Maintenance Task for Workspace cleanup
Created: 11/Jun/13  Updated: 13/Jun/13

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.0.23
Fix Version/s: 5.0.24

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


 Description   
Hi Robin,

With more and more projects on-boarding, the workspace for windows as well as unix keeps getting full. We do end up cleaning them occasionally, however it would be great to have a maintenance task which just like server maintenance which runs at particular time, allows to set a maintenance for each agent node as well to clean out workspace dirs.

However, instead of being at a server level, if it can be configurable at each agent. The user can put in the cron as to how they would like the cleanup and also the directories as users can have a few workspaces on the same agent. This will really benefit admins from maintenance standpoint. We understand that for such tasks the agent would become unavailable to use for a short while but that would be expected.

I know this can be done through groovy and other mechanisms like post build step, but in most cases we don't want to cleanup the workspace as if there is any issue found we have a location to go to to see what happened in the build. So a weekly or even monthly cleanups would benefit. Secondly if its handled within QuickBuild, it will have all the necessary checks in place before the task is run than a custom groovy script.

Let us know what your thoughts are.

Generated at Tue May 21 09:13:11 UTC 2024 using JIRA 189.