Which caches should Bitbucket Pipelines pre-define?

xtjhin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 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

1 vote
Johan Blomgren December 5, 2017

global npm installs

e.g.

npm install -g firebase-tools

0 votes
Mike Hancoski October 6, 2017

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

0 votes
devpartisan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 1, 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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events