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?
It will. The section about agents does apply to OnDemand because you're in control of the EC2 instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.