[Bamboo Knowledge Base]
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:
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:
Atlassian Blogs:
Before you begin:
To enable and configure global expiry of build result data:
Setting | Result |
---|---|
Build results | All build results data (including artifacts and build logs) are deleted. |
Artifacts | Only user-defined artifacts are deleted from the build results. |
Build logs | Only build logs are deleted from the build results. |
Expiry period | Specifies the period (days, weeks or months) for which you want to keep build results. E.g. specify '24 months' to keep all build results for the last two years. |
Minimum builds to keep | Specifies the minimum number of build results you want to keep. E.g. specify '50' to keep the latest 50 build results, even if they are older than the period specified with Expiry period. |
Labels to keep | Specifies the build labels (not plan labels or job labels) applied to builds for which you want to keep build results, regardless of the Expiry period and Minimum builds to keep settings. Note that builds can be labelled either manually or automatically. |
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.
To disable global expiry of build result data:
Screenshot: Configuring build expiry