Specifying Bamboo's working directory

お困りですか?

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

コミュニティに質問

The working directory is where Bamboo temporarily places the checked-out files it's building. The location of this directory is first specified in the Setup Wizard. You can check its location as described in Bamboo's system information and change it by following the instructions on this page.

Once you change the working directory, Bamboo will perform a fresh checkout and clean build of all your plans.

By default, this directory is located at <bamboo-home-dir>/local-working-dir, where <bamboo-home-dir> is the Bamboo home directory.

The checked-out files for each job are stored in a sub-directory relative to the configured working directory:

<bamboo-home-dir>/local-working-dir/<job-key>

If concurrent builds are enabled, the path to local agent build files will use the following format:

<bamboo-home-dir>/local-working-dir/<agent-id>/<job-key>

To change the location of Bamboo's working directory:

  1. Bamboo をシャットダウンします。
  2. Open the <bamboo-install-dir>/bamboo.cfg.xml file in a text editor.

  3. Set the path to the new working directory on the following line:

    <property name="buildWorkingDir">${bambooHome}/local-working-dir</property>
  4. Save the changes and restart Bamboo.
最終更新日: 2024 年 2 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.