raportointi muutoksia
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 16s
unit-tests Bats test report
CI Feature / Bats tests (push) Successful in 1m15s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Successful in 1m18s
CI Feature / Report Summary (push) Successful in 3s

This commit is contained in:
moilanik
2026-06-28 09:22:30 +03:00
parent ae2be1ca35
commit beef556556
3 changed files with 19 additions and 6 deletions
+4 -5
View File
@@ -81,11 +81,10 @@ generate_index() {
} > "$REPORT_DIR/index.html"
}
STAGED="reports/${SHA8}/${SUITE}"
mkdir -p "$STAGED"
mkdir -p "$SUITE"
if [ "$TOTAL" -eq 1 ]; then
cp -a "$REPORT_DIR/." "$STAGED/"
cp -a "$REPORT_DIR/." "$SUITE/"
sh .ci/scripts/publish-git-pages.sh "$SUITE"
first_entry=$(echo "$ENTRIES" | head -1)
@@ -102,9 +101,9 @@ if [ "$TOTAL" -eq 1 ]; then
sh .ci/scripts/report-status.sh "$STATUS" "$DESCRIPTION" "$CONTEXT" "" "$URL"
else
generate_index
cp -a "$REPORT_DIR/." "$STAGED/"
cp -a "$REPORT_DIR/." "$SUITE/"
sh .ci/scripts/publish-git-pages.sh "$SUITE"
sh .ci/scripts/report-status.sh "$STATUS" "$DESCRIPTION" "$CONTEXT" "$SUITE"
fi
rm -rf "$STAGED"
rm -rf "$SUITE"