You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The by-products of builds (like artifacts and logs) can over time use up considerable disk space. Cleanup policies provide a way to remove unneeded build data.

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

NB: build cleanup is permanent: a cleaned up build cannot be recovered.

There are several options you can change to determine which builds will be cleaned up:

Build Age: Build that finished more than 'build age' ago will be cleaned up

Minimum Builds:  Regardless of build age, this number of builds will always be kept.

Maximum Builds:  Regardless of build age, no more than this number of builds will be kept

 

You can also choose which by-products are cleaned up:

Artifacts: Artifacts from the build will be deleted from disk. 

Logs: The build's log will be deleted from the build's workspace and will no longer be accessible on the build's Log page.

Database: The build is deleted from the Continua database - it no longer appears on the configuration's History page, nor does it contribute to the configuration's stats.

 

Save:  saves the cleanup policy. It will be executed according to schedule

Save and Run Now: saves the cleanup policy and runs it immediately. 

  • No labels