From 6fb77f4e51a8457ec01367f9d1cc074fdfc2f1e1 Mon Sep 17 00:00:00 2001 From: William Petit Date: Mon, 29 Apr 2019 16:58:53 +0200 Subject: [PATCH] fixup! Web security audit base pipeline --- vars/audit.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/audit.groovy b/vars/audit.groovy index 9c2447b..4c68e34 100644 --- a/vars/audit.groovy +++ b/vars/audit.groovy @@ -102,12 +102,12 @@ def call() { script { def totalMediumVulnerabilities = sh( - script: "grep 'MEDIUM' report.html | wc -l", + script: "grep 'MEDIUM' reports/report.html | wc -l", returnStdout: true ).toInteger() def totalHighVulnerabilities = sh( - script: "grep 'HIGH' report.html | wc -l", + script: "grep 'HIGH' reports/report.html | wc -l", returnStdout: true ).toInteger()