Hudson Distributed Workspace Clean plugin

Plugin Information

Plugin ID hudson-wsclean-plugin
Latest Release 1.0.4
Latest Release Date Jan 06, 2010
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

This plugin allows you to cleanup workspaces on unused slaves in the same slavegroup.

Hudson Distributed Workspace Clean plugin

Intention of this plugin

This plugin is made to cleanup the same workspace in all, but not the actual used slave

We needed this plugin because we had many jobs and some slaves.
this slaves are packaged to some groups via the labels in the original hudson
because our workspace can contain up to 1GB on data it is absolutely necessary
to delete the not actual workspaces.

For this reason this plugin provides the possibility to delete the workspaces before or after a build.
It uses the standard Hudson mechanics to do this.

Download from

http://hudson-ci.org/download/plugins/hudson-wsclean-plugin/

Change Log

Version 1.0.4 (Jan 7, 2010)
  • Fix NPE while running PrePostClean on a project that can roam
  • Update code for more recent Hudson
Version 1.0.3 (Oct 12, 2009)
  • Fix broken classinformation due to change of from interface to abstract class
  • Fix issue #4630, NPE while running PrePostClean without any slaves
Version 1.0.2
  • Fix for release
Version 1.0.1
  • Initial checkin

Labels:

plugin-buildwrapper plugin-buildwrapper Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Dec 17, 2010

    Eric Smalling says:

    How does this work if you have concurrent runs of the same project on different ...

    How does this work if you have concurrent runs of the same project on different slaves? Is it smart enough to only wipe out the inactive ones?

    1. Jan 26, 2011

      îlot says:

      After some tests,It seems to be not working with concurrent runs ! Below er...

      After some tests,It seems to be not working with concurrent runs !

      Below error message :
      cat delete on Slave remote file operation failed: c:\Hudson/workspace/... at hudson.remoting.Channel@14f5b52:...
      11:20:16 hudson.util.IOException2: remote file operation failed: c:\Hudson/workspace/... at hudson.remoting.Channel@14f5b52:... on ...

    2. Jan 30, 2011

      Tom Spengler says:

      This plugin is especially to clean up unused space for then same Job. But it is ...

      This plugin is especially to clean up unused space for then same Job.
      But it is only tested on linux.

  2. Feb 04, 2011

    brian hsui says:

    edited

    edited