chore: add env cleanup, potential workaround for INFRA-27035
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 1fda4dc..0f21318 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -225,6 +225,9 @@
dir(jenkinsJdkLabel) { // isolate parallel builds on same node
timeout(time: jobConfig.buildTimeout, unit: 'MINUTES') {
checkout scm
+ stage("Env cleanup") {
+ cleanWs()
+ }
stage("Maven Build (Java ${jdkVersion}, ${goal})") {
echo "Running on node ${env.NODE_NAME}"
invocation.call()