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 votes
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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,910 views 7 10
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