fixup! Web security audit base pipeline
This commit is contained in:
parent
36165719d4
commit
6fb77f4e51
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue