Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This page describes the cleanup functionality which is available from version 1.9.2. For earlier version see Cleanup Policies (v1.9.1 and below).


Every build that is executed within Continua CI stores information in the server's workspace, such as artifacts and build logs, and entries in the database. These by-products are vital for executing your build process and tracking build information, however, they can also take up considerable disk space over time and have a negative impact on database performance. Cleanup settings and rules define when any unneeded or old build files and data should be removed, which reduces the amount of disk space that Continua CI is currently using. 

There are cleanup settings and daily cleanup rules. Generally, the settings specify when cleanup should run, and the rules define which aspects of which builds should be cleaned up on a daily basis.  Cleanup settings and one or more rules can be defined at all three levels of Continua CI.

Table of Contents

Global Cleanup

The global settings and rules can be found in the Administration section, under Continuous Integration.

...

You can also manually run the cleanup rules for every configuration from this page by clicking on the Run Cleanup Now button (or the Save & Run Cleanup Now button if there are any unsaved changes to save first). Note that if a configuration or project has overridden the global cleanup settings or rules then the overriding settings and rules will apply when running the cleanup.

Project Cleanup

A project's cleanup settings and rules are defined in its project wizard. The project wizard can be found by selecting a project and clicking 'Edit Project' in the Tasks menu. Cleanup is the fifth step in the project wizard. 

...

You can also manually run the cleanup rules for every configuration in the project from this page by clicking on the Run Cleanup Now button (or the Save & Run Cleanup Now button if there are any unsaved changes to save first). Note that if a configuration has overridden the project or global cleanup settings or rules then the overriding settings and rules will apply when running the cleanup. Also, if a project inherits global settings or rules and they are not overridden then those settings and rules will apply to each configuration when you manually run a cleanup.

Configuration Cleanup

A configuration's cleanup settings and rules are defined in its configuration wizard. It can be found by editing the configuration and navigating to the Cleanup section of the wizard. 

...