Immutable solution version
Bitbucket Pipelines cache missing: only successful builds under 1GB save caches
Complete solution
Bitbucket Pipelines cache missing: only successful builds under 1GB save caches: : caches only generate on successful builds, and only caches under 1GB compressed are saved.
[Atlassian community]: caches only generate on successful builds, and only caches under 1GB compressed are saved. Check the Build teardown section of a recent successful build's log for messages about the maven cache. If it says the cache directory is empty, list the directory at the start and end of the step: dependencies may be landing somewhere else (the default maven cache is ~/.m2/repository). Caches are deleted a week after generation and repopulate on the next successful build. Static directory caching never updates when dependencies change: use file-based cache keys instead.
Context: If the cache button shows nothing, the build never saved one.
Matched source
Source: Source: https://community.atlassian.com/forums/Pipelines-questions/Pipeline-disregards-use-of-maven-cache/qaq-p/2980191 Original query: "Bitbucket Pipelines cache missing: only successful builds under 1GB save caches" Key terms: bitbucket, builds, cache, caches, missing, only, pipelines, save, successful, under
Evidence
Source: If the cache button shows nothing, the build never saved one.
Verified resolution: [Atlassian community]: caches only generate on successful builds, and only caches under 1GB compressed are saved. Check the Build teardown section of a recent successful build's log for messages about the maven cache. If it says the cache directory is empty, list the directory at the start and end of the step: dependencies may be landing somewhere else (the default maven cache is ~/.m2/repository). Caches are deleted a week after generation and repopulate on the next successful build. Static directory caching never updates when dependencies change: use file-based cache keys instead.
Source URL: https://community.atlassian.com/forums/Pipelines-questions/Pipeline-disregards-use-of-maven-cache/qaq-p/2980191
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_t23_zcpJK2m6jiSrNupwrg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Bitbucket Pipelines cache missing: only successful builds under 1GB save caches <span>— Vectle</span></a>