Skip to content

Commit

Permalink
Copy files that are interested.
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Oct 7, 2024
1 parent cd18ee3 commit fc506a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions run_nightly_helm_charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions run_nightly_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc506a6

Please sign in to comment.