The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom caches

hamzaze
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 26, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events