This plugin lets you search for some text using regular expressions in a set
of files or the console log. Based on the outcome, you can downgrade the
build result to UNSTABLE, FAILURE,
NOT_BUILT, or ABORTED.
For example, you can search for the string failure in a set of
log files. If a match is found, you can downgrade the build result from
SUCCESS to FAILURE. This is handy when you have
some tools in your build chain that do not properly set the exit code.