title: How can I use the Log Parser Plugin in a "scripted" Jenkins pipeline?
body: <p>The snippet generator says to use something like this:<br></p>
  
  <pre><code>step([$class: 'LogParserPublisher', failBuildOnError: true,
        showGraphs: true, useProjectRule: false])
  </code></pre>
  
  <p>Will this work in a scripted pipeline, or is it only for declarative pipelines?</p>