To move an agent's Bamboo-Home -
- Move the Bamboo-Home of the agent, to the intended location.
- Edit the <Bamboo-Agent-Home>/bamboo-agent.cfg.xml file, find the following line -
<buildWorkingDirectory>/YOUR_OLD_DIRECTORY/xml-data/build-dir</buildWorkingDirectory>
<buildArtifactDirectory>/YOUR_OLD_DIRECTORY/xml-data/artifacts</buildArtifactDirectory>
- Point the working directory and the artifact directory to the new Bamboo-Home.
- Start your Agent with -Dbamboo.home=your_new_agent_home and point to your new Bamboo-Agent-Home.