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

Custom caches Edited

Hello everyone,

I understood what is this and how it works.
https://confluence.atlassian.com/bitbucket/caching-dependencies-895552876.html?_ga=2.232539679.1066297125.1580062138-1024392904.1563281985#Cachingdependencies-custom-caches

 

caches:
          - bundler #cache is defined below in the definitions section
        script:
          - bundle install --path vendor/bundle

 

I suppose I should put my script in this directory/file "vendor/bundle"

 

Here is the script I need to cache:

script:
- apt-get update && apt-get install -y unzip
-
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
-
apt-get -qq install git-ftp

 

I don't know how to write it in "vendor/bundle"

 

Thanks

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,052 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you