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 b5ccf95b0a)
This commit is contained in:
+2
-1
@@ -1374,7 +1374,8 @@ abi-check:
|
||||
- util/api-checker.sh . refbind
|
||||
artifacts:
|
||||
paths:
|
||||
- "*.html"
|
||||
- "*-lib*.html"
|
||||
- "*-lib*.txt"
|
||||
- "abi-*.dump"
|
||||
expire_in: "1 week"
|
||||
only:
|
||||
|
||||
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user