Forums

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

Dependency not getting cached in bitbucket pipeline

Chain Singh
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!
June 9, 2017
image: uber/android-build-environment

pipelines:
branches:
operation-secret:
- step:
caches:
- custom
script:
- mkdir "${ANDROID_HOME}/licenses" || true
- export GOOGLE_APPLICATION_CREDENTIALS=$PWD/appengine-backend/src/main/webapp/WEB-INF/village-test.json
- echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "${ANDROID_HOME}/licenses/android-sdk-license"
- mkdir -p dependencies
- cd core-lib
- ../gradlew build --gradle-user-home ../dependencies
- cd ..
- du -s ./dependencies
definitions:
caches:
custom: dependencies

In above bitbucket pipeline, I expect in "dependencies" folder 
relative to clone directory, dependencies getting cached.
But I do not see updated size in bitbucket caches size.
In next build, build is again downloading all dependencies.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence administration certification, atlassian certified professional, confluence admin for cloud, atlassian learning, confluence training, confluence certification exam, confluence cloud admin, admin credential, atlassian certification

Become a certified Confluence admin today! 📖

Stand out as a skilled Confluence Cloud administrator. The Confluence Administration for Cloud certification proves you can configure permissions, manage site and space settings, and monitor activity—ensuring secure, effective collaboration for your team.

Start here
AUG Leaders

Atlassian Community Events