jenkinsci/xshell-plugin — pull request #8 by JeremyMarshall (2013-08-29 00:29:05+00:00)
Title: 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