plans being built in sub-directory of xml-data/build-dir??

A strange thing has happened to my bamboo installation.... Our builds are configured to use a common ant build file and ivy. All of our projects reference ../CoreProject/common-build.xml, and ivy has been using a similar scheme to get it's artifacts. Since version 1 we have sym-linked the bamboo name to the "real" project name, and all this has worked pretty well.

Up until recently, bamboo has been organizing my code in $BAMBOO_HOME/xml-data/build-dir. Today i notice that some of my builds started failing and our projects were suddenly being stored in a sub-directory:

was: $BAMBOO_HOME/xml-data/build-dir/COREPROJECT-TRUNK-JOB1

is now: $BAMBOO_HOME/xml-data/build-dir/131073/COREPROJECT-TRUNK-JOB1

some projects are in still another sub-directory... Clicking around it looks like the numbers might corrspond to agent id's.

Does anyone have any insight on what might be going on here? Is this normal or do I have some corruption somewhere??

Thanks,Dennis

note: even though I was a "charter" bamboo user, I decided to get rid of some "upgrade cruft" by starting fresh and reinstalling Bamboo when I upgraded to 3.2 recently.

2 answers

1 accepted

Accepted Answer
0 votes

That's normal if you have concurrent builds enabled. If you disable them, you will get back to the previous layout.

If we stuck to the previous directory layout, a directory would have to be shared between two concurrent builds of the same job. So, concurrent builds -> all job directories are per agent.

That's it, Someone clicked "Enable". Time to revoke some admin privs :-)

Przemek:

Can you have that tidbit added to the Bamboo documentation somewhere? Also, if an agent is disabled or deleted, an Admin might like to know that the ./build-dir/<agentID> directory can be deleted to recover disk space.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

299 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you