If the plugin's step is configured with a file pattern which does not match any files, it logs the error but has no options for having this actually fail the step/build.
i.e. {{[CodeNarc][-ERROR-] No files found for pattern 'build/reports/codenarc/*.xml'. Configuration error?}}
Would it make sense to fail the build if there are any errors in the log of the warnings plugin (they all show up as errors in the info view of the plugin in a build)? Or should it fail only in the specific case of the non matching pattern?
Would it make sense to fail the build if there are any errors in the log of the warnings plugin (they all show up as errors in the info view of the plugin in a build)? Or should it fail only in the specific case of the non matching pattern?
The former one would be much easier to implement (and would catch some other similar problems as well).