Skip to main content

Artifact retention policy

Bitrise stores both build artifacts and build logs for a limited amount of time. The retention period varies by artifact type to balance storage costs with typical usage patterns.

You can download build artifacts via the Bitrise API in order to store them: Managing build artifacts.

When artifacts are removed, they are permanently deleted with no way to recover them.

Older artifacts

Artifacts created before 31 March 2026 will be subject to the old retention policy: 365 days for standards artifacts, installable artifacts, and pipeline intermediate files, and 7 days for HTML reports.

Artifact TypeRetention PeriodCustom retention period
Builds and build logs200 days Builds older than 200 days can still be accessed via the Bitrise API.Unavailable
Test results and all non-installable artifacts90 daysAvailable for Enterprise customers
Installable artifacts (.ipa, .akp and .aab files)150 daysAvailable for Enterprise customers
HTML reports7 daysUnavailable
Pipeline intermediate files7 daysUnavailable
CodePush packagesRetention limits are based upon size rather than age: your subscription plan determines the amount of storage you have.Unavailable

Archiving artifacts to your own storageClick to copy link

To keep artifacts beyond the retention period, archive them using the Bitrise API:

  1. Generate a list of build artifacts to be archived: use /apps/{app-slug}/builds to generate a list of all the builds in one project.
  2. For each build, list out all the artifacts for a given build using /apps/{app-slug}/builds/{buildslug}/artifacts.
  3. For each artifact, get its download URL via /apps/{app-slug}/builds/{buildslug}/artifacts/{artifact-slug}.
  4. Download each artifact using the list of download URLs.
  5. Save all the artifacts in your storage of choice.

Custom retention policiesClick to copy link

Custom retention policies are available for Enterprise customers. Contact your Customer Success Manager to discuss.

  • Shorter retention: Available at no additional cost (useful for reducing storage overhead).
  • Extended retention: Available for an additional fee.
Standard and installable artifacts only

Custom retention periods only apply to standard artifacts and installable artifacts (not HTML reports or pipeline intermediate files). If you have multiple workspaces, you can apply your custom retention period across all of them, or request different retention periods for each one.