From 19e550df1261d8ca8363f89656f31cfe91123bb2 Mon Sep 17 00:00:00 2001 From: Cedric Pollefeys Date: Mon, 2 Nov 2026 14:18:22 -0500 Subject: [PATCH] Keep the pip-audit report when the audit is clean (#15) Co-Authored-By: Claude Opus 5.5 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d2360bf..fa93782 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 '''