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.
You can use Build Expiry feature. One of the options there is to delete only the artifacts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.