From 2b51f02c8fd583640d5441e68fd3766cb09d36ab Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Thu, 3 Nov 2022 10:56:06 -0400 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 827d490..a3ed262 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -115,8 +115,8 @@ pipeline { // Scan again and fail on CRITICAL vulns //below can be temporarily commented to prevent build from failing - echo "Scanning for CRITICAL vulnerabilities onlyi (fatal)..." - sh 'trivy image --ignore-unfixed --vuln-type os,library --exit-code 1 --severity CRITICAL ${maintainer}/${imagename}:latest' + echo "Scanning for CRITICAL vulnerabilities only (fatal)..." + sh "trivy image --ignore-unfixed --vuln-type os,library --exit-code 1 --severity CRITICAL ${maintainer}/${imagename}:latest" //echo "Skipping scan for CRITICAL vulnerabilities (temporary)..." } catch(error) { def error_details = readFile('./debug');