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
, where <bamboo-home-dir>
/local-working-dir<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:
/<job-key><bamboo-home-dir>
/local-working-dir
To change the location of Bamboo's working directory:
- Shut down Bamboo.
Open the
file in a text editor.<bamboo-install-dir>
/bamboo.cfg.xml
Set the path to the new working directory on the following line:
<property name="buildWorkingDir">${bambooHome}/local-working-dir</property>
- Save the changes and restart Bamboo.