-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Analysis does not continue after update failure #6535
Comments
It's always worked this way in my experience - if it can't update the feed or any of the linked sources (OSSINDEX, hosted suppressions, whatever), the plugin errors out, killing the build. The message sequence has been the same in the past, first the warning, then the error. I thought this was by design. :-) This is not a regression, but it certainly could be considered a bug. |
@bmeier-pros it is not by design: #6515 (comment) |
@OrangeDog very interesting. As far back as I can remember, at least to 6.x, this has been the way it's worked for our builds. We do have failOnError set to true, perhaps that is part of it. |
Our current configuration looks something like this:
I'm attempting to update to |
Yes, it's always been like this for me too. Since ~v4. |
In my limited spare time - I'm going to have to check the SQL statement used in DependencyCheck/core/src/main/java/org/owasp/dependencycheck/Engine.java Lines 641 to 643 in 0e183da
|
Describe the bug
After this is logged:
The intention is that analysis should continue. However, this is logged instead:
Version of dependency-check used
The problem occurs using version 9.0.10 of the maven plugin.
Log file
https://gist.github.com/OrangeDog/24ce9447e015184ccf85ac647e17749b
To Reproduce
Steps to reproduce the behavior:
dependency-check:check
Expected behavior
The update fails, but then analysis continues.
Additional context
Retries disabled so it doesn't take 15 hours. However, my logs are also showing this bug: #6531 (comment)
The text was updated successfully, but these errors were encountered: