From c68611b3d5fa2bc9d2793f1dd6b792daf27c4f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Wed, 24 Jun 2026 15:23:18 +0200 Subject: [PATCH] Retrieve only one branch information on Jenkins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * it allows to save 365M - 63M = 302M per matrix build, so a total of 302 * (4 (matrix config) + 1 (JDK26)) x 5 (number of history build kept) = 7.5G (this is on top of previous gain of 27.5G in https://github.com/apache/camel/pull/24201 ) Signed-off-by: Aurélien Pupier --- Jenkinsfile | 2 +- Jenkinsfile.jdk26 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ee19c59adbb08..d2602280513fc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -145,7 +145,7 @@ pipeline { $class: 'GitSCM', branches: scm.branches, extensions: [ - [$class: 'CloneOption', depth: 1, noTags: true, shallow: true] + [$class: 'CloneOption', depth: 1, noTags: true, shallow: true, honorRefspec: true] ], userRemoteConfigs: scm.userRemoteConfigs ]) diff --git a/Jenkinsfile.jdk26 b/Jenkinsfile.jdk26 index 36b23478cb074..abd8b35f91290 100644 --- a/Jenkinsfile.jdk26 +++ b/Jenkinsfile.jdk26 @@ -100,7 +100,7 @@ pipeline { $class: 'GitSCM', branches: scm.branches, extensions: [ - [$class: 'CloneOption', depth: 1, noTags: true, shallow: true] + [$class: 'CloneOption', depth: 1, noTags: true, shallow: true, honorRefspec: true] ], userRemoteConfigs: scm.userRemoteConfigs ])