Can we fail build in jenkins after jfrog xray-scan?

Viewed 65

Is there a way we can fail a build in jenkins after xray scan and getting an unapproved license violation from jfog xray (No pipeline script)?

2 Answers

If the Xray service has been defined with an action under the watch to fail a build upon detecting a vulnerability or a license violation, it will fail the build. Please check, Creating Xray policies: Automatic actions.

Related