summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <wohali@users.noreply.github.com>2020-01-18 05:52:32 +0000
committerGitHub <noreply@github.com>2020-01-18 05:52:32 +0000
commit7214e506199f41babd09611c7ab3564291d5be06 (patch)
treeafe5d0c4c0fc641391a14440e8ec56bbdd9560de
parentaecf8797cbbf9068b69862910e5af35fa6d15c89 (diff)
downloadcouchdb-7214e506199f41babd09611c7ab3564291d5be06.tar.gz
[Jenkins] Try to cleanup hung beam.smp (FreeBSD) (#2468)
-rw-r--r--build-aux/Jenkinsfile.full3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index f13be068d..c6ca2e2dc 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -152,7 +152,8 @@ pipeline {
junit '**/.eunit/*.xml, **/_build/*/lib/couchdbtest/*.xml, **/src/mango/nosetests.xml, **/test/javascript/junit.xml'
}
cleanup {
- sh 'rm -rf $COUCHDB_IO_LOG_DIR'
+ sh 'killall -9 beam.smp || true'
+ sh 'rm -rf ${WORKSPACE}/* ${COUCHDB_IO_LOG_DIR} || true'
}
} // post
} // stage FreeBSD