A simple plugin that displays a lighthouse report inside jenkins.
This will keep the html inside the plugin, but the data is pull in from your build result.
// Generate your lighthouse report. sh("npx lighthouse-ci https://www.example.com --jsonReport --report=.") lighthouseReport('./report.json')