PAIN: Shared Artefacts accumulate across builds when workspace isn't not rebuilt

Using the new features in bamboo 3.2 to share artifacts across the pipeline is a great idea, and we use it successfully.

However, we have no way to clear out previous artefacts in our stage workspaces. Ideally, this would be a configuration option on the shared artifact settings. Alternatively, a prebuild step between VCS sync and artifact copying would allow us to clean out the shared directory before the build kicks in.

Right now we have to know which artefacts we need in current build, and delete anything else. This means too much logic for filtering out files that shouldn't be there in the first place.

1 answer

1 vote

You can use Build Expiry feature. One of the options there is to delete only the artifacts.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

175 views 4 1
Join discussion

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