fixup! Web security audit base pipeline

This commit is contained in:
wpetit 2019-04-29 16:58:53 +02:00
parent 36165719d4
commit 6fb77f4e51
1 changed files with 2 additions and 2 deletions

View File

@ -102,12 +102,12 @@ def call() {
script { script {
def totalMediumVulnerabilities = sh( def totalMediumVulnerabilities = sh(
script: "grep 'MEDIUM' report.html | wc -l", script: "grep 'MEDIUM' reports/report.html | wc -l",
returnStdout: true returnStdout: true
).toInteger() ).toInteger()
def totalHighVulnerabilities = sh( def totalHighVulnerabilities = sh(
script: "grep 'HIGH' report.html | wc -l", script: "grep 'HIGH' reports/report.html | wc -l",
returnStdout: true returnStdout: true
).toInteger() ).toInteger()