Global build expiry allows you to choose when build result data and artifacts will be deleted from your Bamboo system.

Build result data is used for such things as reporting. If global build expiry is disabled, the build result data for your plans will never be deleted from your Bamboo server. This could lead to a large portion of your Bamboo server's storage space being used to store this data.

You can configure build results expiry for:

  • all plans (i.e. 'global', described below). This is generally the easiest way to manage build expiry in Bamboo. The global configuration applies to all plans that do not override the global build expiry settings.
  • individual plans (see Configuring build results expiry for a plan). You would generally only do this if there is a specific reason to keep/delete a particular plan's build result data.

You can also delete the results of a plan build manually — see Deleting the results of a plan build.

You must be Bamboo administrator to configure global build results expiry.

On this page:

Related pages:

Atlassian Blogs:

Configuring global expiry

Before you begin:

To enable and configure global expiry of build result data:

  1. Click Build Expiry (under 'Plans') in the left-hand panel.
  2. Click Edit.
  3. Click the icon on the right of the scheduled expiry to set when the build expiry event will be triggered. You can specify a cron expression if required. See this FAQ for help constructing cron expressions.
  4. Clear the Disable Global Build Expiry checkbox, if necessary, to enable build expiry. The controls described below will be displayed.

  5. Click Save.

(info) Note that the Disable Global Build Expiry checkbox, described above, only controls the deletion of build results. The build expiry event (triggered by the expiry Schedule) will still run. For example, you may wish to disable build expiry globally, but still schedule a global build expiry event that triggers the deletion of build data from individual plans. See Configuring build results expiry for a plan for details on how to override the global build expiry settings.

Disabling global expiry

To disable global expiry of build result data:

  1. Click Build Expiry (under 'Plans') in the left-hand panel.
  2. Click Edit, then check Disable Global Build Expiry.

Screenshot: Configuring build expiry