nuke icon indicating copy to clipboard operation
nuke copied to clipboard

Print all failed Requirements at once

Open tyb-dev opened this issue 3 years ago • 0 comments

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

tyb-dev avatar Mar 10 '23 16:03 tyb-dev