Slackbot
02/24/2022, 7:27 PMThomas Broyer
02/25/2022, 8:08 AM./gradlew? Are you building inside an ephemeral Docker container?Deepthi Kodatham
02/25/2022, 2:49 PMpodTemplate(
name: 'test-pod',
label: 'test-pod',
containers: [
containerTemplate(name: 'gradle2', image: 'gradle:7.3.3-jdk11', ttyEnabled: true, command: 'cat'),
],Thomas Broyer
02/25/2022, 3:17 PMgradle image, then use gradle (from the image) rather than ./gradlew (which will download the distribution even if it's the same version as in the image).Thomas Broyer
02/25/2022, 3:19 PMThomas Broyer
02/25/2022, 3:23 PMDeepthi Kodatham
02/25/2022, 6:21 PMDeepthi Kodatham
02/25/2022, 11:52 PMThomas Broyer
02/26/2022, 12:06 AM--console=plain) and see what more you can cache. Maybe enable build cache and cache the ~/.gradle/caches/build-cache-1/ (or wherever you configured the local build cache to be stored), or use a remote build cache.
As said above I don't really have that problem as we keep the whole gradle user home (dependencies, build cache, etc.) and the whole workspace (project's build/ directories) so it works the same as on the developers machines.Deepthi Kodatham
02/28/2022, 6:25 PM