From c635ba3ac27de06840fa61876538aabae908b210 Mon Sep 17 00:00:00 2001 From: Jesse Houldsworth Date: Thu, 27 Mar 2025 15:20:28 -0700 Subject: [PATCH] jenmkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9f0ac71fb..fcf4fce99 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,10 +56,10 @@ pipeline { stage('Xray Scan') { steps { - // Use the Artifactory command to scan the build with Xray: + // Use the new "jf build-scan" command + // "Fail Build" is decided by your Xray policy if severity >= High sh """ - ${JF} rt build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} \\ - --fail-on-severity=High + ${JF} build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} --fail """ } }