Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Do remote agents have its own workspace

Atul Yadav August 6, 2019

When the remote agent is deployed and the specfic jobs run on them , do remote agent have their own local working directory or it is refers to central Bamboo server WD.

1 answer

1 accepted

1 vote
Answer accepted
Steffen Opel _Utoolity_
Community Champion
August 7, 2019

Hi Atul,

Welcome to the Atlassian Community!

Remote agents indeed have their own working directory, refer to Bamboo agent home directory for details:

When you installed your remote agents (if any), you specified the location for the Agent home directory — this is the directory where the agent's configuration data is stored. The default name of this directory is bamboo-agent-home.

[...]

The contents of the agent home directory are:

bamboo-agent.cfg.xml
This contains configuration information about this remote agent. Most notably, it stores the agent id, which gets generated the first time this agent connects to the Bamboo server.

xml-data/build-dir/
This is where the agent will check out the files and perform builds (similar to the Bamboo server's xml-data/build-dir/ directory)

You can also change the default location during Bamboo remote agent installation, as outlined in section Changing where the remote agent stores its data within Additional remote agent options:

By default, the remote agent will store its data in a USER_HOME/bamboo-agent-home. If you wish to specify a different directory, add the following command line parameter before the JAR file name:

-Dbamboo.home=RemoteAgentHome

where RemoteAgentHome is the path to the Bamboo agent home directory you created in step 1.1.

[...]

Cheers,
Steffen

Atul Yadav September 16, 2019

Thanks Steffen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events