Resolve "Use cache in CI for gradle"
Closes #27 (closed)
Edited by René Schöne
Merge request reports
Activity
@johannes.mey Might wanna have a look and merge it.
assigned to @johannes.mey
I assume that this is uncritical. However, I am not sure how to check if the improvement actually works. @rschoene any tips?
Compare the build logs.
With cache (96d31272):
$ ./gradlew --console=plain --no-daemon --info test Initialized native services in: /builds/jastadd/relational-rags/.gradle/native Welcome to Gradle 5.6.4!
Without cache (e14fe286):
$ ./gradlew --console=plain --info test Downloading https://services.gradle.org/distributions/gradle-5.6.4-bin.zip ......................................................................................... Initialized native services in: /root/.gradle/native Welcome to Gradle 5.6.4!
Also, the build times are faster, 3min compared to 4min 30sec.
OK, this works since you did two commits in the branch :)
you can also observe the cache being created, e.g. in job 13409
Creating cache default... .gradle/wrapper: found 242 matching files .gradle/caches: found 590 matching files No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally. Created cache
I am satisfied and will merge.
mentioned in commit 091df7bc
Please register or sign in to reply