How to configure the temporary directory for a Bamboo remote agent
プラットフォームについて: 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 は除く
要約
For some scenarios, it might be required to change or configure the temporary directory (Java temporary folder) for remote agents. For example, when two remote agents are installed on the same machine, as two agents sharing the same temporary directory can cause issues during build execution.
The information in this page relates to customizations in Bamboo. Consequently, Atlassian Support cannot guarantee to provide any support for the steps described on this page as customizations are not covered under Atlassian Support Offerings. Please be aware that this material is provided for your information only and that you use it at your own risk.
また、ファイルの直接変更によるカスタマイズはアップグレード プロセスに含まれない点にご注意ください。 このような変更は、アップグレード後のインスタンスで手動で再適用する必要があります。
環境
Applicable to remote agents on all supported versions of Bamboo.
ソリューション
Please follow the instructions below to change the temporary directory for a Bamboo remote agent:
Stop the remote agent.
From
<remote-agent-install>/conf
, open wrapper.conf.Find the section # The Bamboo Agent home configuration file, and add a line that must contain the following information:
wrapper.java.additional.X=-Djava.io.tmpdir=/path/to/directory
Change the X to the next number following the sequence.
Change /path/to/directory to the desired directory and save the changes.
Start the remote agent.
These steps are meant for remote agents only. In order to change the temporary directory path for Bamboo server itself, please see How to configure temporary directory in Bamboo server.
この内容はお役に立ちましたか?