Use develocity build cache in PRs and local builds#15579
Use develocity build cache in PRs and local builds#15579trask merged 2 commits intoopen-telemetry:mainfrom
Conversation
36414ef to
4de1ae8
Compare
|
It might be beneficial to enable anonymous access for develocity and always use it from ci. Then PR builds could also use the build cache. |
| } | ||
|
|
||
| buildScan { | ||
| uploadInBackground = !isCI |
There was a problem hiding this comment.
I tested and uploadInBackground didn't make a noticeable difference locally so removed
| buildCache { | ||
| remote(HttpBuildCache::class) { | ||
| url = uri("$develocityServer/cache/") | ||
| isPush = isCI && develocityAccessKey.isNotEmpty() |
There was a problem hiding this comment.
this is the magic to get it to use our develocity server just for the (read-only) build cache 🤞
good idea, I think I got this working in the PR now |
wow, great idea, check out the PR build time now!! |
No description provided.