Dashboard > CruiseControl.NET > ... > Task Blocks > Artifact Cleanup Publisher
Artifact Cleanup Publisher Log In View a printable version of the current page.  
CruiseControl.NET documentation for latest CI builds
Added by Ruben Willems , last edited by Ruben Willems on May 28, 2008  (view change)

The artifact CleanUp publisher allows for automatic removal of the buildlogs according to the choosen setting.
It relies on the build log folder, so the XML publisher must be specified before this publisher can run.
For technical reasons this publisher MUST reside in the publisher section, it will not work in the tasks section.
Be sure to specify the XMLLogger before this one.

Example

<artifactcleanup   cleanUpMethod="KeepLastXBuilds"   cleanUpValue="50" />

 This will keep the last 50 builds in the buildlog folder.

Node Description Type Required Default
cleanUpMethod Defines the procedure to use for cleaning up the artifact folder complex true
N/A
cleanUpValue Defines the value for the cleanup procedure int
true
N/A

Supported cleaning up methods :

  • KeepLastXBuilds : keeps the last specified amount of builds
  • DeleteBuildsOlderThanXDays  : Deletes the builds older than the specifed amount of days
  • KeepMaximumXHistoryDataEntries : Clears the History Data file (for the ModificationHistory), keeping maximum the specified amount of builds.

Powered by a free Atlassian Confluence Open Source Project / Non-profit License granted to ThoughtWorks, Inc.. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators