title: jenkins plugin to fail build based on console output
body: <p>Is there a plugin to fail a build if a pattern occurs on the console output?</p>
  
  <p>For example:</p>
  
  <pre><code>Build Action - success
  Build Action - success
  Build Action - error_pattern
  Build Action - success
  </code></pre>
  
  <p>Let's assume that the Jenkins build process does not fail the build on error_pattern, I need to have an external fail trigger of some sort.</p>
  
  <h2>EDIT</h2>
  
  <p>Looking for a solution to fail the build during, not a post build task.</p>