History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1771
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Justin Georgeson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

REST: remove workspace from active nodes

Created: 03/Sep/13 04:15 PM   Updated: 21/Nov/13 09:00 AM
Component/s: None
Affects Version/s: 3.1.73, 5.0.36
Fix Version/s: 5.1.0-rc1, 5.1.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Having this both as a direct REST call and as a true/false parameter to the configuration delete REST call would be a really good enhancement. Especially if it's made available in the 3.1.x release as that would help us clean up our build machines as we transition them from 3.1.x to 5.0.x.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [26/Sep/13 12:34 AM]
Will add an option to delete workspaces when delete configurations in QB5 via RESTful API. For other cases, such as deleting configuration workspace separately, this is quite easy by writing some groovy script. For instance to delete workspace of exisitng configuration "root/test", do the following:
groovy:
def testConf = system.configurationManager.get("root/test");
for (each in grid.allNodes) {
  def workspace = each.getWorkspaceDir(testConf.id);
  each.deleteDir(workspace);
}