jenmkinsfile

This commit is contained in:
Jesse Houldsworth 2025-03-27 15:20:28 -07:00
parent eae14dc236
commit c635ba3ac2

6
Jenkinsfile vendored
View file

@ -56,10 +56,10 @@ pipeline {
stage('Xray Scan') { stage('Xray Scan') {
steps { 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 """ sh """
${JF} rt build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} \\ ${JF} build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} --fail
--fail-on-severity=High
""" """
} }
} }