Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Remove pre command hook to ignore restore gradle dependency cache
With this hook present, every build and its within jobs are all restoring the dependency cache, even when this is not really needed, and as such, potentially, unnecessarily delaying some jobs, while also consuming unnecessary resources (downloading from s3, (un)compressing, etc). FYI: It is better to use 'restore_gradle_dependency_cache' only on those jobs that could really benefit from it. PS: Also, based on the current state of things, with the dependency cache save/restore mechanism being stale, this 'restore_gradle_dependency_cache' command is not working as expected. No cache entry is found for 'GRADLE_DEPENDENCY_CACHE' is being output on every build/job that runs on an 'android' agent, plus an this 'GRADLE_RO_DEP_CACHE: unbound variable' is being output on every build/job that runs on another agent (like the 'linter' agent).
- Loading branch information