Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Wildcard for caches path

abobrikovich March 8, 2019

According to official guide https://confluence.atlassian.com/bitbucket/caching-dependencies-895552876.html :

  • custom caches can define only single path
  • custom caches don't allow wildcards

I use bitbucket for android project with huge native code base, and I use http://conan.io as dependency manager for c++ code.

Because of this I would like to cache this paths:

  • ~/.conan/data/[boost|libcurl]/*/*/*/package 
  • ~/.conan/data/[boost|libcurl]/*/*/*/export/
  • ~/.conan/data/[boost|libcurl]/*/*/*/export_source/

2 answers

1 accepted

1 vote
Answer accepted
abobrikovich April 17, 2019

Use `conan remove --build --src --force '*'` before caching

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2019

Hello,

Could you attach and example of your bitbucket-pipelines.yml file?

Can you also check the "Build Teardown" logs of your pipeline, as it's possible that the directories you're trying to cache exceed the size limit of 1GB (after compression).

Thanks,

Phil

abobrikovich April 17, 2019

Hi

I already solved the problem by `conan remove --build --src --force '*'` and changing cache path to `~/.conan`

Like Philip Hodder likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events