fixup! Web security audit base pipeline
This commit is contained in:
@ -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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user