Skip to content

Commit

Permalink
jenkins again
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Aug 16, 2022
1 parent c1f3a5d commit 5737cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ node('docker') {

// Scan container for all vulnerability levels
sh 'mkdir -p reports'
sh 'trivy image --ignore-unfixed --vuln-type os,library --no-progress --format template --template "@html.tpl" -o reports/container-scan.html ${imagename}:${tag}'
sh "trivy image --ignore-unfixed --vuln-type os,library --no-progress --security-checks vuln --format template --template '@html.tpl' -o reports/container-scan.html ${imagename}:${tag}"
publishHTML target : [
allowMissing: true,
alwaysLinkToLastBuild: true,
Expand Down

0 comments on commit 5737cb2

Please sign in to comment.