I have implemented the following pipe to clear pipeline caches, but it seems that this pipe clears all the caches by name, when I want it to just clear the current cache according to its file key:
https://bitbucket.org/atlassian/bitbucket-clear-cache/src/master/
Looking at the source code it seems the pipe just iterates through all of the caches with that name, when I am hoping for support for a key file to go along with the cache name. Is there a feature request outstanding for this?
Also to give more context to the problem we are trying to solve, we are looking to replace a cache according to its file key. Currently our builds skip uploading the cache if it is existing, but we want to overwrite it instead. We were hoping this pipe could help by deleting and re-uploading our cache, but it is not quite giving us what we are looking for.
Thanks!
Hi @twiechert
Thank you for your feedback! I have reached out to our pipes development team for further details, and will get back to you once I hear from them.
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.