It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Change plan build directory

Neil Wheeler Aug 06, 2012

I have a customised EC2 image based on the Atlassian stock windows image. I've added an EBS volume mounted as drive V:. Then checked out our svn repo to V:\svn.

I'm hoping to configure the Bamboo plan to use this directory to check out the repo, to save it being checked out in full each time.

Any ideas where I can configure this? I'm guessing I need to change the build-dir.

I currently see this in the log;

Working directory 'C:\build-dir\XXX-PLAN-JOB1' is empty. Checking out SVN URL 'https://abc.atlassian.net/svn/XXX/trunk'

So I need to configure the working directory?

1 answer

1 accepted

Przemek Bruski Atlassian Team Aug 06, 2012

It will. The section about agents does apply to OnDemand because you're in control of the EC2 instance.

Neil Wheeler Aug 06, 2012

At the top of that article it says;

The information on this page does not apply to Bamboo OnDemand.

Are you saying this will work with OnDemand?

Przemek Bruski Atlassian Team Aug 06, 2012

That's right, it will go to XXX-PLAN-JOB. You can't change it unless you manage your checkout on your own (by adding script tasks).

Neil Wheeler Aug 06, 2012

Ok got you.

So I can change the <buildworkingdirectory> to V:\svn by modifying bamboo-agent.cfg.xml

But presumably the svn checkout will now go to V:\svn\XXX-PLAN-JOB1?

How do I make it checkout to V:\svn regardless of the plan and job?

Neil Wheeler Aug 09, 2012

I tried changing bamboo-agent.cfg.xml to point to my desired working directory. But each time I rebooted my instance it would revert back. I found that making the change in bamboo-agent.cfg.template.xml has the desired effect.

Again, no mention of this in the documentation that I can see.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Software

Demo Den Ep. 5: Meet Jira Mobile

See how to use Jira on the go! Demo Den Episode 5 is here: meet Jira Mobile with  Jira  Product Manager Rayen Magpantay.  Demo Den is in our monthly series where a Jira PM demonstrates...

305 views 1 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you