Where does Bamboo store its Global Expiry configuration?

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

目的

If you want to compare the global expiry configuration between two servers or want to make sure the same settings are migrated to a new server, it may be necessary to know how and where Bamboo stores its Global Expiry configuration.

ソリューション

The configuration is stored within <bamboo-home>/xml-data/configuration/administration.xml. Any changes to this file manually will require a restart of Bamboo.

Here's an example snippet from the administration.xml for expiry related settings:

<myBuildExpiryConfiguration> <myPeriod>days</myPeriod> <myDuration>0</myDuration> <buildsToKeep>1</buildsToKeep> <maxIgnoredLogSize>-1</maxIgnoredLogSize> <expiryTypeNothing>false</expiryTypeNothing> <expiryTypeResult>true</expiryTypeResult> <expiryTypeArtifact>true</expiryTypeArtifact> <expiryTypeBuildLog>true</expiryTypeBuildLog> <labelsToKeep></labelsToKeep> <cronExpression>0 0 0 ? * *</cronExpression> <enabled>true</enabled> </myBuildExpiryConfiguration> <deploymentExpiryConfig> <expiryEnabled>true</expiryEnabled> <expiryTypes enum-type="com.atlassian.bamboo.deployments.expiry.DeploymentExpiryType">DEPLOYMENT_RESULT_LOG_EXPIRY,DEPLOYMENT_RESULT_EXPIRY,DEPLOYMENT_VERSION_ARTIFACTS_EXPIRY</expiryTypes> <expiryPeriod>PT0S</expiryPeriod> <deploymentsToKeep>2</deploymentsToKeep> <maxIgnoredLogSize>-1</maxIgnoredLogSize> </deploymentExpiryConfig>

更新日時: September 25, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。