Keep the pip-audit report when the audit is clean (#15)
seat-back-trivia/pipeline/pr-main This commit looks good

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cedric Pollefeys
2026-11-02 14:18:22 -05:00
co-authored by Claude Opus 5.5
parent 1704b5c61a
commit 19e550df12
Vendored
+1 -1
View File
@@ -96,7 +96,7 @@ pipeline {
trivy fs --scanners secret --skip-dirs pricing/.venv --exit-code 1 --no-progress --output reports/secrets.txt . \
|| { cat reports/secrets.txt; exit 1; }
"$TOOLS/pip-audit" --version
"$TOOLS/pip-audit" -r pricing/requirements.txt --no-deps --disable-pip --output reports/pip-audit.txt \
"$TOOLS/pip-audit" -r pricing/requirements.txt --no-deps --disable-pip > reports/pip-audit.txt 2>&1 \
|| { cat reports/pip-audit.txt; exit 1; }
cat reports/secrets.txt reports/pip-audit.txt
'''