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

rombert pushed a commit to branch issue/cleanup-ws
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git

commit 66e2c2f89c9fc81895896838e449ca6633aa5531
Author: Robert Munteanu <romb...@apache.org>
AuthorDate: Wed Sep 3 23:41:30 2025 +0200

    chore: add env cleanup, potential workaround for INFRA-27035
---
 vars/slingOsgiBundleBuild.groovy | 3 +++
 1 file changed, 3 insertions(+)

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 @@ def defineStage(def globalConfig, def jobConfig, def 
jdkVersion, def operatingSy
             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()

Reply via email to