From 862de46c5b9d0f1f728deeff5f95e3d50aee3dfd Mon Sep 17 00:00:00 2001 From: Razvan Codreanu <52859362+Schife@users.noreply.github.com> Date: Tue, 19 May 2020 09:57:20 +0100 Subject: [PATCH] INFRA-331 Improving Jenkins PR build performance (#6252) * INFRA-331 increasing shard number and reintroducing pre allocation * INFRA-331 removing preallocation * INFRA-331 reintroducing preallocation as it cuts 10 mins from the build * INFRA-331 test performance with 20 pods * INFRA-331 test performance with 10 pods and preallocation * INFRA-331 more tests on 15 pods + prealloc --- Jenkinsfile | 2 +- build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cd3418f6b3..33c1063d6a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ pipeline { "-Ddocker.push.password=\"\${DOCKER_PUSH_PWD}\" " + "-Ddocker.work.dir=\"/tmp/\${EXECUTOR_NUMBER}\" " + "-Ddocker.build.tag=\"\${DOCKER_TAG_TO_USE}\"" + - " clean pushBuildImage --stacktrace" + " clean pushBuildImage preAllocateForAllParallelIntegrationTest preAllocateForAllParallelIntegrationTest --stacktrace" } sh "kubectl auth can-i get pods" } diff --git a/build.gradle b/build.gradle index e7d5dd3c84..8ae347da27 100644 --- a/build.gradle +++ b/build.gradle @@ -672,7 +672,7 @@ buildScan { } ext.generalPurpose = [ - numberOfShards: 10, + numberOfShards: 15, streamOutput: false, coresPerFork: 2, memoryInGbPerFork: 12,