How to change the build working directory location on a remote agent
目的
Change the build working directory location on a remote agent.
This can be useful when we have a different partition or disk drive to store your data.
It is also an option to reduce the path used for your builds (to deal with Windows 260 character limits).
ソリューション
- Stop your agent
- Edit the <Agent_Home>/bamboo-agent.cfg.xml file changing the value set for the property buildWorkingDirectory to the new location
- Remove the content from your old build-dir location (do not move it, we want the agent to recreate the build data).
In case you have the repository cache configured to be saved on the agent side this renewal will cause the first build of your plans to be slow until the new cache is built. - Start your agent
最終更新日 2017 年 8 月 31 日
Powered by Confluence and Scroll Viewport.