Fail job on regex found in STDOUT or running over allotted time

Hi

I saw a couple of requests on StackOverflow for the ability to halt a job if something is found in the log. I thought it was a good idea so forked xshell-plugin and developed it. So here it is. I tested it on debian in a master node and a slave configuration.

I looked for a way to poll ByteArrayOutputStream rather than sleep but couldn't see anything obvious

If you like it please add it in

Regards
Jeremy