Hi Team,
I have added bit-bucket cache into my configuration file.
After added when i ran the pipeline still it's same build time it's took the pipeline.
So please check it. is it correct or any change on my configuration file on cache part..
if any modification please change on that
Please reply ASAP
"bitbucket-pipeline.yml"
---
image: "node:10.15.0"
pipelines:
branches:
development:
-
step:
deployment: test
name: "install and build"
caches:
- node
script:
- "apt-get update -y"
- "apt-get install -y zip"
- "cd admin/front-end"
- "npm install"
- CI=false
- "npm run build"
- "zip -r /tmp/artifact.zip *"
trigger: automatic
artifacts:
- admin/front-end/build/**
-
step:
image: "python:3.5.7"
name: test
caches:
- pip
script:
- "apt-get update -y"
- "pip install boto3==1.9.197"
- "apt-get install -y zip"
- "zip -r /tmp/artifact.zip *"
- "python codedeploy_deploy.py"
Regards,
Venkat
Hi @venkatcss
Your configuration seems fine (assuming the indentation is fine), could you verify that the caches are listed by clicking on caches button as defined in https://confluence.atlassian.com/bitbucket/caching-dependencies-895552876.html and additionally could you upload raw log of your pipeline so I can verify it caches are uploaded/downloaded properly?
Thanks,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.