Keep the pip-audit report when the audit is clean (#15)
seat-back-trivia/pipeline/pr-main This commit looks good
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:
co-authored by
Claude Opus 5.5
parent
1704b5c61a
commit
19e550df12
Vendored
+1
-1
@@ -96,7 +96,7 @@ pipeline {
|
|||||||
trivy fs --scanners secret --skip-dirs pricing/.venv --exit-code 1 --no-progress --output reports/secrets.txt . \
|
trivy fs --scanners secret --skip-dirs pricing/.venv --exit-code 1 --no-progress --output reports/secrets.txt . \
|
||||||
|| { cat reports/secrets.txt; exit 1; }
|
|| { cat reports/secrets.txt; exit 1; }
|
||||||
"$TOOLS/pip-audit" --version
|
"$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/pip-audit.txt; exit 1; }
|
||||||
cat reports/secrets.txt reports/pip-audit.txt
|
cat reports/secrets.txt reports/pip-audit.txt
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user