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-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 4e8669f0b9 Do not store workspace on Jenkins in case of success
4e8669f0b9 is described below
commit 4e8669f0b9b54f760e8ed1ef21fe22fea0165634
Author: Aurélien Pupier <[email protected]>
AuthorDate: Wed Jul 8 16:15:41 2026 +0200
Do not store workspace on Jenkins in case of success
It will save 10G on the different Jenkins nodes when the builds are in
success
Signed-off-by: Aurélien Pupier <[email protected]>
---
Jenkinsfile | 13 +++++++++++++
Jenkinsfile.sonarcloud | 13 +++++++++++++
2 files changed, 26 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index bb465b5455..bfd81b929c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -58,4 +58,17 @@ pipeline {
}
}
}
+
+ post {
+ always {
+ cleanWs(cleanWhenNotBuilt: false,
+ cleanWhenUnstable: false,
+ cleanWhenFailure: false,
+ cleanWhenAborted: false,
+ cleanWhenSuccess: true,
+ deleteDirs: true,
+ disableDeferredWipeout: true,
+ notFailBuild: true)
+ }
+ }
}
diff --git a/Jenkinsfile.sonarcloud b/Jenkinsfile.sonarcloud
index a45554f94c..17946431c1 100644
--- a/Jenkinsfile.sonarcloud
+++ b/Jenkinsfile.sonarcloud
@@ -55,4 +55,17 @@ pipeline {
}
}
}
+
+ post {
+ always {
+ cleanWs(cleanWhenNotBuilt: false,
+ cleanWhenUnstable: false,
+ cleanWhenFailure: false,
+ cleanWhenAborted: false,
+ cleanWhenSuccess: true,
+ deleteDirs: true,
+ disableDeferredWipeout: true,
+ notFailBuild: true)
+ }
+ }
}