From 612d101f75677a33bec41694caf44d39e9f235ba Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Mon, 7 Oct 2024 16:42:54 +0200 Subject: [PATCH] Copy files that are interested. Signed-off-by: Petr "Stone" Hracek --- run_nightly_helm_charts.sh | 5 +++-- run_nightly_tests.sh | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/run_nightly_helm_charts.sh b/run_nightly_helm_charts.sh index ae6c45e..09b06c2 100755 --- a/run_nightly_helm_charts.sh +++ b/run_nightly_helm_charts.sh @@ -50,8 +50,9 @@ if [[ $? -ne 0 ]]; then else touch "${RESULTS_DIR}/${TARGET}-${TESTS}/tmt_success" fi -if [[ -d "${DIR}/plans/${TFT_PLAN}/data/results" ]]; then - cp -rv "${DIR}/plans/${TFT_PLAN}/data/results/*" "${RESULTS_DIR}/${TARGET}-${TESTS}/plans/${TFT_PLAN}/data/results/" +if [[ -d "${DIR}/plans/${TFT_PLAN}/data" ]]; then + cp -rv "${DIR}/plans/${TFT_PLAN}/data/results" "${RESULTS_DIR}/${TARGET}-${TESTS}/plans/${TFT_PLAN}/data/" + cp -v "${DIR}/plans/${TFT_PLAN}/data/*.log" "${RESULTS_DIR}/${TARGET}-${TESTS}/plans/${TFT_PLAN}/data/" fi cp "${DIR}/log.txt" "${RESULTS_DIR}/${TARGET}-${TESTS}/" set +o pipefail diff --git a/run_nightly_tests.sh b/run_nightly_tests.sh index 4b31b82..e0b48da 100755 --- a/run_nightly_tests.sh +++ b/run_nightly_tests.sh @@ -96,8 +96,9 @@ if [[ $? -ne 0 ]]; then else touch "${RESULTS_DIR}/${TARGET}-${TESTS}/tmt_success" fi -if [[ -d "${DIR}/plans/${TFT_PLAN}/data/" ]]; then - cp -rv "${DIR}/plans/${TFT_PLAN}/data/*" "${RESULTS_DIR}/${TARGET}-${TESTS}/plans/${TFT_PLAN}/data/" +if [[ -d "${DIR}/plans/${TFT_PLAN}/data" ]]; then + cp -rv "${DIR}/plans/${TFT_PLAN}/data/results" "${RESULTS_DIR}/${TARGET}-${TESTS}/plans/${TFT_PLAN}/data/" + cp -v "${DIR}/plans/${TFT_PLAN}/data/*.log" "${RESULTS_DIR}/${TARGET}-${TESTS}/plans/${TFT_PLAN}/data/" fi cp "${DIR}/log.txt" "${RESULTS_DIR}/${TARGET}-${TESTS}/" set +o pipefail