title: How to send email/trigger parameterized remote job based on error category from Build Failure Analyzer Jenkins plugin?
body: <p>I want to categorize different types of errors appearing in the console output of Jenkins using the <a href="https://plugins.jenkins.io/build-failure-analyzer/" rel="nofollow noreferrer">Build Failure Analyzer plugin</a>. If there aren't any errors caught by that plugin, then I want to trigger another job using <a href="https://plugins.jenkins.io/Parameterized-Remote-Trigger/" rel="nofollow noreferrer">Parameterized Remote trigger plugin</a>. Else, I want to send an email to the concerned team describing all the attributes in the failure cause of that plugin (e.g. Name in that Failure Cause and the corresponding error text which got printed in the failure logs).</p>
  <p><a href="https://i.stack.imgur.com/rIXyp.png" rel="nofollow noreferrer">Build Failure Analyzer window</a></p>
  <p>For example, if the console output of different failure logs show the following errors:</p>
  <ol>
  <li>You don't have the required permissions to copy this file.</li>
  <li>java.lang.NullPointerException
  at Login.processLogin(Login.java:68)</li>
  </ol>
  <p>I want to categorize these errors based on the analyzer plugin and if caught by that plugin, I want to send an email:
  <strong>e.g. Build #48 at {My_Jenkins_Job_Url} failed due to Permission denied (Failure cause Name). You don't have the required permissions to copy this file (console log text).</strong></p>
  <p>If not caught and successful, then I should be able to trigger parameterized remote Jenkins job.</p>
  <p>I am just a beginner with regards to Jenkins. It would be better if anyone explains and assists me with complete details. Thanks!</p>