title: How to check the Console Output for a specific string and raise an error on the Build?
body: <p>I have <code>Hudson</code> configured for building a project. </p>
  
  <p>And the console output, after building is, as follows:</p>
  
  <pre><code>Compiling ./main.py ...
  Sorry: IndentationError: ('expected an indented block', ('./main.py', 8, 6, 'thread.start_new_thread( foo.FooThread, () )\n'))
  Compiling ./udpReceiver.py ...
  &lt;&lt;&lt;&lt;&lt; build finished!
  POST BUILD TASK : SUCCESS
  END OF POST BUILD TASK : 0
  
  Deleting project workspace... 
  done
  
  Finished: SUCCESS
  </code></pre>
  
  <p>As you can see, I have an Indentation Error....and <code>Hudson</code> says that the build job finished with success.</p>
  
  <p><strong>What I want is something like this:</strong></p>
  
  <p>Check if the string "<em>IndentationError</em>" is presented on the console output text ... if so, than the build should be:
  <strong>Finished: FAILED!!!!!!!!</strong></p>
  
  <p>How can I accomplish this?</p>