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
Published Monday 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...

305 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