From 7cb148203f6580c9a16ab67c83e3e6f10021452d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Antonsson?= Date: Mon, 19 Sep 2022 15:46:37 +0200 Subject: [PATCH] Collect error logs and heap dumps during CI build --- .circleci/collect_libs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/collect_libs.sh b/.circleci/collect_libs.sh index ce6e53afd3e..752c0e8cdd1 100755 --- a/.circleci/collect_libs.sh +++ b/.circleci/collect_libs.sh @@ -9,6 +9,9 @@ set -e LIBS_DIR=./libs/ mkdir -p $LIBS_DIR >/dev/null 2>&1 +cp /tmp/hs_err_pid*.log $LIBS_DIR || true +cp /tmp/java_pid*.hprof $LIBS_DIR || true + for lib_path in workspace/*/build/libs; do echo "saving libs in $lib_path" cp $lib_path/*.jar $LIBS_DIR/