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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

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&nbsp...

675 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot