Disk Space Strategies for deployable artifacts

I'm starting a new set of builds for a compound project (it has a variety of deployable objects, some are compiled and some are not, mainframe, database, java, cobol). I have a defined set of output folders and need to preserve these for potential future use while cleaning up the rest of the deployment and the build jobs that created them primarily for feature testing. (qa, uat, dev).

I'm intrigued by the shared artifacts but after reviewing the documentation I didn't clearly see how that would work with the build expiry function. It seems to be storing the shared artifacts in a build folder (under xml-data/...) which would presumably be deleted when the build is expired. (We are at this moment having issues with disk space on our remote agent server and are looking at what we will need to do for managing that).

I could check the zipped deployment into SVN (though that wouldn't be my first choice). Copy it out to a filesystem location. Is this my best choice? Create a deployment project to copy the shared artifacts/deployment code to a secondary location? Am I on the right track here or is there another approach I'm not thinking about?

1 answer

1 accepted

We create an artifact definition for everything that we might want to preserve and then use labels to exempt specific builds from build expiration policies. Aritfacts are always pushed to the Bamboo server, so you need only worry about managing a large amount of storage there. If you are running up against disk space on the Bamboo server itself, you'll need to download them manually to a separate file server yourself or develop a manual or automated stage in your plan that can copy the artifacts to a known location. One challenge with the latter approach is that your Bamboo service user will need to have appropriate permissions to access network fileshare locations.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,096 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot