Versions Compared

Key

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

...

By default, the global policy will be applied to all builds, however you can override this at either the project or configuration level. Each cleanup policy runs once per day. You can choose when it runs and control which builds and by-products are cleaned up.

Every time the cleanup policy is run it will also apply the cleanup settings for previously cleaned up builds. For example, say your policy only removes the build log and you then change this so that it cleans up every aspect of old builds. By running the cleanup policy again, it will remove all old builds, regardless of whether their build log has already been cleaned up.

Note that build cleanup is permanent : and a cleaned up build cannot be recovered.

...

Defining and Manually Running Cleanup Policies

Cleanup policies are can be defined and manually executed in following areas of Continua.

...

The global policy can be found in the administration section, under the Continuous Integration (CI) Settings. You can manually run the cleanup policies for every configuration from this page. Note that if a configuration or project has overridden the global cleanup policy then that cleanup policy will be used instead.

Project Cleanup Policy

A project's cleanup policy can be defined in it's project wizard. The project wizard can be found by selecting a project and clicking 'Edit Project' in the Tasks menu. The cleanup policy is the last page in the project wizard

You can manually run the cleanup policies for every configuration in a project from this page. Note that if a configuration has overridden the current cleanup policy then that cleanup policy will be used instead. Also, if a project uses the global cleanup policy then the global policy will be run against the current project when you manually run a cleanup.

Configuration Cleanup Policy

A configuration's cleanup policy is defined in it's configuration wizard. It can be found by editing the configuration and navigating to the cleanup section of the wizard.

You can manually run the cleanup policy for a single configuration from this page. Note that if a configuration uses the global or project cleanup policy then that policy will be run against the current configuration when you manually run a cleanup.

Cleanup Policy Options

Run Cleanup Task Daily at

...