It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,050 views 1 16
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