some of the directories under stash-home/cache/scm/ can grow very large. Can some of the old cache files be removed from this directory to save disk space? Is it only the last cache file that we have to keep?
The stash-home/cache/scm directories contain the cache files for the scm-cache plugin, which caches clone operations. Each subdirectory contains files for a particular repository (the directory name is the repository ID). There can be multiple files in each repository directory; it all depends on what refs were included in the clone. The cache files for a repository are cleaned up:
There's also a built-in protection that prevents the SCM cache from completely filling the disk. The SCM cache will stop creating new cache files if the free space on the disk drops below a threshold (1Gb by default but configurable).
Hope this helps
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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!
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