Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pre-configure buildWorkingDirectory for a remote agent

tkhduracell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2012

Is there any way to configure the remote agents buildworking directory?


java -Dbamboo.buildWorkingDirectory=C:\b -jar agent-installer.jar http://url/ install

I've tried to modify bamboo-agent.cfg but this isn't created until first start. I must be able to do this with commandlines and then start the agent.

Any ideas?


1 answer

1 accepted

0 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2012

You can create the file and then run the agent. It will fill in the missing information

tkhduracell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2012

So I can prepare i defult agent.cfg with like:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<buildWorkingDirectory>C:\b</buildWorkingDirectory>
</configuration>

And it won't be overwritten?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events