Skip to content

Commit 4e3a706

Browse files
authored
Update copy-script script to copy generated allure test reports (#108)
1 parent 195218c commit 4e3a706

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tmt/scripts/copy-logs.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22

33

44
TEST_LOG_DIR="${TMT_PLAN_DATA}/../discover/default-0/tests/streams-e2e/target/logs"
5-
XUNIT_LOG_DIR="${TMT_PLAN_DATA}/../discover/default-0/tests/target/streams-e2e/failsafe-reports"
5+
XUNIT_LOG_DIR="${TMT_PLAN_DATA}/../discover/default-0/tests/streams-e2e/target/failsafe-reports"
6+
REPORT_LOG_DIR="${TMT_PLAN_DATA}/../discover/default-0/tests/streams-e2e/target/site"
67

78
TARGET_DIR="${TMT_PLAN_DATA}"
89
LOGS_DIR="${TARGET_DIR}/logs"
910
XUNIT_DIR="${TARGET_DIR}/xunit"
11+
REPORT_DIR="${TARGET_DIR}/report"
1012

1113
mkdir -p "${LOGS_DIR}"
1214
mkdir -p "${XUNIT_DIR}"
15+
mkdir -p "${REPORT_DIR}"
1316

1417
cp -R "${TEST_LOG_DIR}" "${LOGS_DIR}" || true
1518
cp -R "${XUNIT_LOG_DIR}" "${XUNIT_DIR}" || true
19+
cp -R "${REPORT_LOG_DIR}" "${REPORT_DIR}" || true

0 commit comments

Comments
 (0)