mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12: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') {
|
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
|
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue