setExpiryOptions

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

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.