This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new ae2ae7dbf ci: Full cleanup of Jenkins workspace
ae2ae7dbf is described below
commit ae2ae7dbffca22310bfd8b447e57b12c39c5f88a
Author: Ronny Berndt <[email protected]>
AuthorDate: Sat Mar 21 14:32:53 2026 +0100
ci: Full cleanup of Jenkins workspace
Hidden files were not deleted after a CI-run.
Remove all files to have a clean start.
---
build-aux/Jenkinsfile | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/build-aux/Jenkinsfile b/build-aux/Jenkinsfile
index 7e21db44b..345d1d350 100644
--- a/build-aux/Jenkinsfile
+++ b/build-aux/Jenkinsfile
@@ -346,7 +346,7 @@ def generateNativeStage(platform) {
finally {
junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml,
**/src/mango/nosetests.xml, **/test/javascript/junit.xml'
sh 'killall -9 beam.smp || true'
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
} else {
//steps to configure and build CouchDB on Windows platforms
@@ -505,7 +505,7 @@ def generateContainerStage(platform) {
}
finally {
junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml,
**/src/mango/nosetests.xml, **/test/javascript/junit.xml'
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
}
@@ -531,7 +531,7 @@ def generateContainerStage(platform) {
error("Build step failed with error: ${err.getMessage()}")
}
finally {
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
}
}
@@ -604,7 +604,7 @@ pipeline {
post {
cleanup {
// UGH see https://issues.jenkins-ci.org/browse/JENKINS-41894
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
}
} // stage 'Setup Environment'
@@ -635,7 +635,7 @@ pipeline {
post {
cleanup {
// UGH see https://issues.jenkins-ci.org/browse/JENKINS-41894
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
}
} // stage Docs Check
@@ -664,7 +664,7 @@ pipeline {
post {
cleanup {
// UGH see https://issues.jenkins-ci.org/browse/JENKINS-41894
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
}
} // stage Build Docs
@@ -695,7 +695,7 @@ pipeline {
post {
cleanup {
// UGH see https://issues.jenkins-ci.org/browse/JENKINS-41894
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
}
} // stage Erlfmt
@@ -729,7 +729,7 @@ pipeline {
}
cleanup {
// UGH see https://issues.jenkins-ci.org/browse/JENKINS-41894
- sh 'rm -rf ${WORKSPACE}/*'
+ sh 'rm -rf ${WORKSPACE}/* ${WORKSPACE}/.[a-zA-Z]'
}
}
} // stage Build Release Tarball