Versions Compared

Key

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

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 Cleanup policies are used to delete stale CI 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:

...