From 0af9a5dbc23d7b95c74c132ac72b7681c214a7ac Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Fri, 28 Jun 2024 17:29:27 +0200 Subject: [PATCH] not uploading core dumps if not failed --- .ci/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/test.sh b/.ci/test.sh index c820ce0b8f..b29036ebc4 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -130,6 +130,8 @@ if [[ "$FAILED" -eq 0 ]]; then # extract coverage data for the source folder of the workspace lcov --extract /tmp/coverage.removed "$WORKSPACE/src/*" --output-file $ARTIFACT_FOLDER/$REPOSITORY_NAME.info || echo "$0: coverage tracefile is empty" + exit $FAILED + fi ls /tmp/coredump