mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:25:50 +00:00
jenmkinsfile
This commit is contained in:
parent
eae14dc236
commit
c635ba3ac2
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -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
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue