Lighthouse Report

ID: lighthouse-report

A simple plugin that displays a lighthouse report inside jenkins.

You can use archive() function to save files, but you cannot view any html with javascript for security reasons.

This will keep the html inside the plugin, but the data is pull in from your build result.

Report Name can also be specified to generate Lighthouse report with a specific name, supports multiple reports.

Usage

// Generate your lighthouse report.
node {
   sh 'npx lighthouse-ci https://www.example.com --jsonReport --report=.'
    lighthouseReport('./report.json')
}

//Generate your lighthouse report with specific report name
node {
   sh 'npx lighthouse-ci https://www.example.com --jsonReport --report=.'
    lighthouseReport file: './report.json', name: 'My Report'
}

Screenshot

Screenshot

ArchivesGet past versions
Version: 1.1.0
Released:
Requires Jenkins 2.164.3
Installs: 145
Labels
This plugin has no labels
Maintainers
Gavin Mogan
Help us improve this page!
To propose a change submit a pull request to the plugin page on GitHub.