This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 352bfc3c06c0 Do not store workspace on jenkins in case of success
352bfc3c06c0 is described below

commit 352bfc3c06c0fe63efbea9a3d56bfda72a388de2
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Wed Jul 8 16:57:41 2026 +0200

    Do not store workspace on jenkins in case of success
    
    This should save around 3G per build (including matrixed builds) in the
    history, so potentially 6*5*3=90G across the various nodes. In practice,
    given the number of failures, I expect more around 50G
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 Jenkinsfile        | 9 +++++++++
 Jenkinsfile.deploy | 9 +++++++++
 Jenkinsfile.jdk26  | 9 +++++++++
 3 files changed, 27 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 034d50d2b9e5..fe93376d42ea 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -210,6 +210,15 @@ pipeline {
                             body: '${DEFAULT_CONTENT}',
                             recipientProviders: [[$class: 
'DevelopersRecipientProvider']]
                         )
+                        cleanWs(
+                            cleanWhenNotBuilt: false,
+                            cleanWhenUnstable: false,
+                            cleanWhenFailure: false,
+                            cleanWhenAborted: false,
+                            cleanWhenSuccess: true,
+                            deleteDirs: true,
+                            disableDeferredWipeout: true,
+                            notFailBuild: true)
                     }
                 }
             }
diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index 346c741d25e4..4d588e76bd23 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -77,6 +77,15 @@ pipeline {
                 body: '${DEFAULT_CONTENT}',
                 recipientProviders: [[$class: 'DevelopersRecipientProvider']]
             )
+            cleanWs(
+                cleanWhenNotBuilt: false,
+                cleanWhenUnstable: false,
+                cleanWhenFailure: false,
+                cleanWhenAborted: false,
+                cleanWhenSuccess: true,
+                deleteDirs: true,
+                disableDeferredWipeout: true,
+                notFailBuild: true)
         }
     }
 }
diff --git a/Jenkinsfile.jdk26 b/Jenkinsfile.jdk26
index 36b23478cb07..201e157efca9 100644
--- a/Jenkinsfile.jdk26
+++ b/Jenkinsfile.jdk26
@@ -139,6 +139,15 @@ pipeline {
                             body: '${DEFAULT_CONTENT}',
                             recipientProviders: [[$class: 
'DevelopersRecipientProvider']]
                         )
+                        cleanWs(
+                            cleanWhenNotBuilt: false,
+                            cleanWhenUnstable: false,
+                            cleanWhenFailure: false,
+                            cleanWhenAborted: false,
+                            cleanWhenSuccess: true,
+                            deleteDirs: true,
+                            disableDeferredWipeout: true,
+                            notFailBuild: true)
                     }
                 }
             }

Reply via email to