I am setting up a gradle cache to enable faster builds. It seems (they are listed under caches as well) the cache is stored, but I really can't find the restored cache when running subsequent steps.
How can this be? The build setup outputs even says it downloads the cache and unpacks it.
My setup is something like this:
name: Build and Test
- export TESTCONTAINERS_RYUK_DISABLED=true
- ls -lah
- ./gradlew --build-cache --no-daemon stage
- pipe: atlassian/checkstyle-report:0.2.0
name: Security Scan
# Run a security scan for sensitive data.
# See more security tools at https://bitbucket.org/product/features/pipelines/integrations?&category=security
- pipe: atlassian/git-secrets-scan:0.4.3
name: Build and publish docker image
- ls -lah .
- docker build -t $IMAGE_NAME .
- docker tag $IMAGE_NAME $IMAGE:master
- docker push $IMAGE_NAME
- docker push $IMAGE:master
The "ls -lah ." steps above shows no ".gradle" folder on the paths. Even though the build setup for each steps says this:
Cache "docker": Downloading
Cache "docker": Downloaded 623.7 MiB in 7 seconds
Cache "docker": Extracting
Cache "docker": Extracted in 7 seconds
Cache "gradle": Downloading
Cache "gradle": Downloaded 190.9 MiB in 2 seconds
Cache "gradle": Extracting
Cache "gradle": Extracted in 2 seconds
Cache "gradlewrapper": Downloading
Cache "gradlewrapper": Downloaded 196.1 MiB in 3 seconds
Cache "gradlewrapper": Extracting
Cache "gradlewrapper": Extracted in 1 seconds
Am I misundestanding where the folders should end up? Thanks...
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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