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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,006
Community Members
 
Community Events
176
Community Groups

Is it possible set remote agent build working dir before authorize on bamboo master server?

Hi,

I am interested on automating bamboo remote agent and I would need change build working directory before authorize it on the bamboo master server. Is there any property or method to do this?

2 answers

I think is not possible to do what you need. I tried to find a way to do it, but I couldn't.
When I did the automation of the installation, I had to install the agent first, then stop it, change the file and restart it, as Daniel, suggest you.
I think it could be a interesting feature to add to next releases.
I just opened an issue in the Community about this:

https://jira.atlassian.com/browse/BAM-20564

0 votes

Hi Carlos,

The default build directory of a remote agent is:
<AGENT_HOME>/xml-data/build-dir

You can either install the agent in a different location or just change the build-dir location by doing the following:

  1. Install the agent.
  2. Stop the agent.
  3. Edit the <AGENT_HOME>/bamboo-agent.cfg.xml file changing the value for buildWorkingDirectory property to the new location.
  4. Start the agent.
  5. Aprove it.

You build a script to install the agent and change the build-dir as you need.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events