mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
jenmkinsfile
This commit is contained in:
parent
9bdd3bfd02
commit
7171a843be
1 changed files with 8 additions and 8 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue