Verified Commit db09c630 authored by Michal Nowak's avatar Michal Nowak
Browse files

Collect TXT and HTML reports produced by ABI checker

Although in util/api-checker.sh we create textual reports, we don't
preserve them in job artifacts, but we should.

We don't want to keep all HTML pages present in the project root, but
just those produced by ABI checker.

(cherry picked from commit b5ccf95b)
parent 166199ce
Pipeline #41771 canceled with stages
in 33 seconds
......@@ -1372,7 +1372,8 @@ abi-check:
- util/api-checker.sh . refbind
artifacts:
paths:
- "*.html"
- "*-lib*.html"
- "*-lib*.txt"
- "abi-*.dump"
expire_in: "1 week"
only:
......
......@@ -80,4 +80,4 @@ while read -r HTMLREPORT; do
TXTREPORT="${HTMLREPORT/.html/.txt}"
echo " w3m: ${HTMLREPORT} -> ${TXTREPORT}"
w3m -dump -cols 75 -O ascii -T text/html "${HTMLREPORT}" > "${TXTREPORT}"
done < <(find . -maxdepth 1 -name '*.html')
done < <(find . -maxdepth 1 -name '*-lib*.html')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment