Which caches should Bitbucket Pipelines pre-define? Edited

Joshua Tjhin Atlassian Team Jun 05, 2017

Caching is now available in Alpha. For popular build tools, we've pre-defined some caches.

https://confluence.atlassian.com/bitbucket/caching-dependencies-895552876.html

So far we've added:

  • node which caches node_modules
  • maven which caches ~/.m2/repository
  • gradle which caches ~/.gradle/caches
  • pip which caches ~/.cache/pip
  • composer which caches vendor

Please tell us which build tool you'd like to see as a pre-defined cache and which directory it should cache.

3 answers

global npm installs

e.g.

npm install -g firebase-tools

0 vote
Ian Buchanan Atlassian Team Sep 01, 2017

How about apt which caches /var/cache/apt/archives?

It's not the normal language build stuff, but I find myself needing to build-up my toolchain for base images.

git
For adding env files and push it directly to any git remote

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,006 views 26 12
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