title: Jenkins plugin to monitor custom metrics
body: <p>I have a build-system where one of the tools in the toolchain is analyzing the code and performing static code analysis. The metrics are outputted in an xml-file similair to the one below:</p>
  
  <pre><code>&lt;metrics&gt;
    &lt;metric name="metric_a"&gt;65&lt;/metric&gt;
    &lt;metric name="metric_a"&gt;32&lt;/metric&gt;
    &lt;metric name="metric_a"&gt;42&lt;/metric&gt;
  &lt;/metrics&gt;
  </code></pre>
  
  <p>What I want to in Jenkins is to be able to parse this file and then be able to visualize the metrics over time as well as set thresholds so build should fail if for example <code>metric_a</code> is below a certain value. </p>
  
  <p>I've been looking for a suitable plugin but the closest I've found is the <a href="https://wiki.jenkins.io/display/JENKINS/Warnings+Plugin" rel="nofollow noreferrer">Warnings Plugin</a>. However the Warnings Plugin parses logs and aggregates the results by utself rather than parsing an actual file with the final metrics.</p>
  
  <p>Are there any other plugins suitable for handling "custom-metrics" or what is by best option? </p>