Skip to content
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

Open
hypery2k opened this issue Oct 16, 2018 · 4 comments
Open

Add option to suppress failures #102

hypery2k opened this issue Oct 16, 2018 · 4 comments

Comments

@hypery2k
Copy link

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.

@jeremylong
Copy link
Collaborator

The option already exists (failOnError). See the ODC gradle documentation for more info.

dependencyCheck {
   failOnError = false
}

@hypery2k
Copy link
Author

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

@jeremylong
Copy link
Collaborator

Just getting back to this - instead of a new ignoreBuildStatus wouldn't just setting failBuildOnCVSS=11 work to disable this build failure?

@hypery2k
Copy link
Author

hypery2k commented Jan 1, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants