-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to suppress failures #102
Comments
The option already exists ( dependencyCheck {
failOnError = false
} |
thanks for the reply. I know this one, but if the vulnerabilities exceeds the threshold in my project the build fails even if i set this to false |
Just getting back to this - instead of a new |
mmh i want something like a dry run, keeping my current cvss threshold and logging the results silently. But when failBuildOnCVSS 11 set I modify my threshold |
As per discussion, it's already configurable. I have a boolean property (external configuration) that I set if I want to fail the build. You can do something like this in order to not fail. This is in my build.gradle: dependencyCheck {
if (owasp_failOnVulnerability.toBoolean()) {
failBuildOnCVSS = 0
}
} |
Would be great a have a option to not fail the build, something like
ignoreBuildStatus
at this point.If needed I can add a PR for this.
The text was updated successfully, but these errors were encountered: