Skip to content

Commit

Permalink
fix: remove redundant scanner option from Trivy image analysis comman…
Browse files Browse the repository at this point in the history
…d in Jenkinsfile
  • Loading branch information
Ganthepro committed Dec 29, 2024
1 parent 3693eeb commit 264dd13
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 @@ -45,7 +45,7 @@ pipeline {
stage("Image Analysis") {
steps {
script {
sh 'trivy image --scanners vuln --no-progress --exit-code 1 --severity HIGH,CRITICAL $DOCKER_CREDENTIALS_USR/edusaig:$BUILD_NUMBER'
sh 'trivy image --no-progress --exit-code 1 --severity HIGH,CRITICAL $DOCKER_CREDENTIALS_USR/edusaig:$BUILD_NUMBER'
}
}
}
Expand Down

0 comments on commit 264dd13

Please sign in to comment.