Skip to end of banner
Go to start of banner

setExpiryOptions

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 55 Current »

See also: Actions

Description

Set the global build expiry options by using one or more field parameters. Defaults to no expiry processing. See administration expiry panel for details on how automatic expiry works. Use field names results (includes artifacts and logs), artifacts, and logs to control what will be removed. Additional options are available with field names including expireAfter (in days), buildsToKeep (minimum builds to keep), maximumBuildsToKeep, deploymentsToKeep (minimum successful deployments to keep), and labelsToKeep (blank separated list). On Bamboo 7.1 or higher, anyDeploymentsToKeep can also be used to keep successful or unsuccessful deployments to keep. Fields not set will be defaulted. Only a cron expression can be used for the schedule parameter and defaults to '0 0 0 ? * *' which is once a day at midnight.

Required Parameters

Optional Parameters

field, schedule

Type

Update

Category

System

Output Formats

Replacement Variables

Since Version9.3

Examples

Related How To's

  • No labels