jenmkinsfile

This commit is contained in:
Jesse Houldsworth 2025-03-27 17:00:36 -07:00
parent 9bdd3bfd02
commit 7171a843be

16
Jenkinsfile vendored
View file

@ -54,14 +54,6 @@ pipeline {
}
}
stage('Xray Scan') {
steps {
// Use the new "jf build-scan" command
// "Fail Build" is decided by your Xray policy if severity >= High
sh "${JF} build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} --fail=false"
}
}
stage('Publish Build Info') {
steps {
sh """
@ -71,6 +63,14 @@ pipeline {
"""
}
}
stage('Xray Scan') {
steps {
// Use the new "jf build-scan" command
// "Fail Build" is decided by your Xray policy if severity >= High
sh "${JF} build-scan ${JFROG_CLI_BUILD_NAME} ${JFROG_CLI_BUILD_NUMBER} --fail=false"
}
}
}
post {
always {