-
Notifications
You must be signed in to change notification settings - Fork 347
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
Print all failed Requirements at once #1138
Labels
Comments
This was referenced May 4, 2023
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The current
RequirementService.ValidateRequirements
implementation fails on the first requirement that fails. This means the user needs to retry a couple of times until fulfilling all the requirements. Since all requirements are evaluated in for foreach loops, Nuke could as well collect all failures in a collection and report all of them at once.This would be possible at least in the case where NukeBuild.Host is not a Terminal and there is no interactive injection of values.
Usage Example
Usage is the same, but printed output is more useful.
Alternative
The user has to do a try & error.
Could you help with a pull-request?
Yes
The text was updated successfully, but these errors were encountered: