Problem description
Builds in Cloud Build experience long completion times or cache loading fails.
Cause
The cache is too large.
Solutions
- Select Install Cache and enable Exact Match
- Update the
build.gradlefile. For example, add a comment to the file. - Trigger the build again. This build does not use the cache. After the build is complete, a new, streamlined cache is created. Subsequent builds then use this new cache.
Applies to
- Cloud Build
该文章对您有帮助吗?