How to configure temporary directory in Bamboo remote agent

Still need help?

The Atlassian Community is here for you.

Ask the community


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.

Also, please be aware that customizations done by directly modifying files are not included in the upgrade process. These modifications will need to be reapplied manually on the upgraded instance.

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Summary

For some scenarios, it might be required to change or configure the temporary directory (Java temp folder) for remote agents.

Solution

Follow the instructions below to change the temporary directory in Bamboo remote agent:

  1. Stop the remote agent.
  2. From <remote-agent-install>/conf, open wrapper.conf.
  3. 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

    (info) Change the X to the next number following the sequence.

  4. Change /path/to/directory to the desired directory and save the changes.
  5. Start the remote agent.

(plus) These steps are for remote agents only, to change the temp directory path for the Bamboo server, please see: How to configure temporary directory in Bamboo server.

Last modified on Apr 26, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.